Royce  Reinger

Royce Reinger

1658999880

Hiatus: Localization QA tool

hiatus

hiatus is a localization QA tool. Reads various bilingual file formats, runs checks and reports errors detected.

Check Items

Glossary
When a glossary source term found in a source segment, checks if corresponding glossary target term exists in a target segment. RegExp supported.

Search Source or Target Text (Defined as monolingual)
Loads expressions from the list, and report errors if the expressions found in a segment. You can choose which segment to search (source or target). RegExp supported.

Inconsistency
Checks inconsistencies in two ways - Source to Target & Target to Source

Numbers
Detects numbers in source but NOT in target.

TTX, XLZ, SDLXLIFF Tag Check
Detects missing or added internal tags.

Length
Length of source and target segments are different more/less than +/- 50%

Skipped Translation
Reports errors if a target segment is blank.

Identical Translation
Reports errors if source and target segments are same

Alphanumeric Strings in Target but NOT in Source (Defined as unsourced)
Effective only when target is non-Alphabet language (i.e. Japanese, Chinese, Korean...).

Alphanumeric Strings in Source but NOT in Target (Defined as unsourced_rev)
Effective only when source is non-Alphabet language (i.e. Japanese, Chinese, Korean...).

Software
Checks if 1) Hotkeys (i.e. &A, _A), 2) Missing/Added variables (i.e. %s, %d), and 3) '...' at the end (i.e. Save As...) are consistent between source and target segments.

Spell
Spell check using GNU Aspell library.

Supported Bilingual File Formats

  • XLZ (Idiom)
  • TTX
  • TMX
  • TXT (tab-separated file)
  • CSV (LocStudio dump by CSVDump add-in)
  • XLS/XLSX (By default, read as column A = Source, column B = Target, column C = Comment)
  • RTF/DOC/DOCX (Trados format bilingual)
  • TBX
  • SDLXLIFF

Features

  • hiatus can automatically convert dictionary form into possible active forms for English (Optional).
    Example: Converts write into RegExp (?:write|writes|writing|wrote|written).
  • Auto-detect encoding with chardet2 library to prevent garbled character issues.
  • Simple output report (XLS). Easy to filter.
  • Can suppress known false errors by specifying Ignore List.
  • Source code is published here. You can modify as you like if you want.

Precautions

  • Do NOT copy anything while hiatus is running.
    hiatus uses clipboard while reading XLSX/DOC files (including reading XLS Ignore list).
    When you use these functions, leave clipboard during execution. Do not perform any copy operations.
  • Ignore list does not work correctly in some cases (See "About Ignore List" for details)

Environment

Ruby 1.9.2, 1.9.3 or 2.0.0
Windows XP, Windows 7
*hiatus is tested only in JA and EN environment. However, it might work correctly on other languages as chardet2 library is implemented to support various encodings.

Installation

  1. Install Ruby 2.0.0. Check on tk option on installation
  2. Install GNU Aspell (Mac, Win) and dictionaries you need.
  3. Add 'C:\Program Files (x86)\Aspell\bin' to your environmental variable PATH.
  4. On 'C:\Program Files (x86)\Aspell\bin', copy aspell-15.dll and save it as aspell.dll. Also save pspell-15.dll as pspell.dll.
  5. Start command prompt and run following commands
    gem install nokogiri
    gem install zip
    gem install ffi
    gem install ffi-aspell
    gem install chardet2

How to use hiatus?

Fill in necessary fields on config.yaml, and run hiatus.rb.
Then error report will be generated.

About config.yaml

 required:  
   bilingual: Folder path of the target bilingual files (including subfolders)  
   output: Folder path of the output report  
   report: Format of the output report (Currently, only xls)  
   source: Source Language  
   target: Target Language  
   glossary: Folder path of the Glossary files (including subfolders)
   monolingual: Folder path of the Monolingual files (including subfolders) 

check: Choose true or false for each check.
   glossary: true  
   inconsistency_s2t: true  
   inconsistency_t2s: true  
   missingtag: true  
   skip: true  
   identical: false   
   monolingual: true  
   numbers: true  
   unsourced: true  
   unsourced_rev: true   
   length: false 
   software: true 
   spell: true 

 option:  
   filter_by: For XLZ - Only when the "Note" value is same as this value, the entry will be checked. Other entries will be skipped.   
   ignore100: true/false. For TTX/XLZ/SDLXLIFF, when true, 100% match will be skipped.  
   ignoreICE: true/false. For XLZ/SDLXLIFF, when true, ICE match will be skipped.  
   ignorelist: Path to the ignore list (XLSX file)

About Ignore List

You can skip known false errors by specifying ignore list.
Open the hiatus report (XLSX file) and mark ignore in "Fixed?" column (column M), and save it as XML spreadsheet 2003 format.
Then specify the full path of the XML file in the ignoreList field. Use semicolon to specify multiple files.
For example:

   ignorelist: Y:\Sample_files\130412_report.xml  
   ignorelist: Y:\Sample_files\130412_report.xml;Y:\Sample_files\130522_report.xml  

Then, marked errors will not reported next time.

Note:
You can specify XLSX (or CSV file) in ignoreList field, however, it is not recommended as reading XLSX file is unstable. XML file is recommended.

How to create Glossary file?

See the following instructions and the sample files in !Sample_files folder.

Glossary File Format

Four-Column TAB delimited Text
UTF-8 without BOM is recommended (Encoding is automatically detected by chardet)

Structure

Column 1Column 2Column 3Column 4
SourceTargetOptionComment
ColumnDescription
SourceGlossary source term. RegExp supported. Required
TargetGlossary target term. RegExp supported. Required
OptionConversion option. Required
CommentComment. Optional

About Options

Available options are combination of followings

OptionDescription
iignore case + Auto Conversion
mmultiline + Auto Conversion
eextended + Auto Conversion
zNo Conversion + No RegExp + Case-Insensitive
BlankNo Conversion + No RegExp + Case-Sensitive (= As is)
  
Prefix # 
#<X>Auto Conversion OFF. When you use your own RegExp, add # at the beginning of the option field

Sample

Server	 サーバー	z
(?:node|nodes)	ノード	#i	ノードの訳に注意
import(?:ing)	インポート	#i
Japan	日本		JapanはCase-sensitive
run	走る	i	
(?<!start¥-|end¥-)point	点	#i	Feedback No.2

You can try Ruby RegExp on rubular.
RegExp is based on onigumo, see Ruby 2.0.0 reference for details of RegExp available in Ruby 2.0.0.

How to create Monolingual file?

See below and the sample files in !Sample_files folder.

Monolingual File Format

Four-Column TAB delimited Text
UTF-8 without BOM is recommended (Encoding is automatically detected by chardet)

Structure

Column 1Column 2Column 3Column 4
s or tExpressionOptionComment
ColumnDescription
s or tSegment to search. 's' is source, 't' is target segment. Required
ExpressionSearch expression. RegExp supported. Required
OptionConversion option. Required
CommentComment. Optional

About Option

Available options are combination of followings

OptionDescription
iignore case + Auto Conversion
mmultiline + Auto Conversion
eextended + Auto Conversion
zNo Conversion + No RegExp + Case-Insensitive
BlankNo Conversion + No RegExp + Case-Sensitive (= As is)
  
Prefix # 
#<X>Auto Conversion OFF. When you use your own RegExp, add # at the beginning of the option field

Sample

t	;	#	全角セミコロン;を使用しない
t	[\p{Katakana}ー]・	#	カタカナ間の中黒を使用しない
t	[0123456789]+	#	全角数字を禁止
s	not	z	否定文?
t	Shared Document	#i	Windows のファイル パスはローカライズする(共有ドキュメント)。
t	[あいうえお]	#	Hiragana left

You can try Ruby RegExp on rubular.
RegExp is based on onigumo, see Ruby 2.0.0 reference for details of RegExp available in Ruby 2.0.0.


For more details, please see
Slide: http://www.slideshare.net/ahanba/how-to-use-hiatus
Demo: http://youtu.be/6yaiI0OS-3c


Author: Ahanba
Source Code: https://github.com/ahanba/hiatus 
License: GPL License

#ruby #localization #tool 

What is GEEK

Buddha Community

Hiatus: Localization QA tool

Localization - Laravel Localization Example

In this example i will show you localization - laravel localization example.

Laravel’s localization features provide a convenient way to retrieve text in different languages, allowing you to easily support multiple languages within your application. So here i will show you how to create localization or laravel dynamic language.

Read More : Localization - Laravel Localization Example

https://websolutionstuff.com/post/localization-laravel-localization-example


Read Also : How To Integrate Paypal Payment Gateway In Laravel

https://websolutionstuff.com/post/how-to-integrate-paypal-payment-gateway-in-laravel

#localization - laravel localization example #localization tutorial #localization #laravel multi languag #laravel documentation #laravel localization

Royce  Reinger

Royce Reinger

1658999880

Hiatus: Localization QA tool

hiatus

hiatus is a localization QA tool. Reads various bilingual file formats, runs checks and reports errors detected.

Check Items

Glossary
When a glossary source term found in a source segment, checks if corresponding glossary target term exists in a target segment. RegExp supported.

Search Source or Target Text (Defined as monolingual)
Loads expressions from the list, and report errors if the expressions found in a segment. You can choose which segment to search (source or target). RegExp supported.

Inconsistency
Checks inconsistencies in two ways - Source to Target & Target to Source

Numbers
Detects numbers in source but NOT in target.

TTX, XLZ, SDLXLIFF Tag Check
Detects missing or added internal tags.

Length
Length of source and target segments are different more/less than +/- 50%

Skipped Translation
Reports errors if a target segment is blank.

Identical Translation
Reports errors if source and target segments are same

Alphanumeric Strings in Target but NOT in Source (Defined as unsourced)
Effective only when target is non-Alphabet language (i.e. Japanese, Chinese, Korean...).

Alphanumeric Strings in Source but NOT in Target (Defined as unsourced_rev)
Effective only when source is non-Alphabet language (i.e. Japanese, Chinese, Korean...).

Software
Checks if 1) Hotkeys (i.e. &A, _A), 2) Missing/Added variables (i.e. %s, %d), and 3) '...' at the end (i.e. Save As...) are consistent between source and target segments.

Spell
Spell check using GNU Aspell library.

Supported Bilingual File Formats

  • XLZ (Idiom)
  • TTX
  • TMX
  • TXT (tab-separated file)
  • CSV (LocStudio dump by CSVDump add-in)
  • XLS/XLSX (By default, read as column A = Source, column B = Target, column C = Comment)
  • RTF/DOC/DOCX (Trados format bilingual)
  • TBX
  • SDLXLIFF

Features

  • hiatus can automatically convert dictionary form into possible active forms for English (Optional).
    Example: Converts write into RegExp (?:write|writes|writing|wrote|written).
  • Auto-detect encoding with chardet2 library to prevent garbled character issues.
  • Simple output report (XLS). Easy to filter.
  • Can suppress known false errors by specifying Ignore List.
  • Source code is published here. You can modify as you like if you want.

Precautions

  • Do NOT copy anything while hiatus is running.
    hiatus uses clipboard while reading XLSX/DOC files (including reading XLS Ignore list).
    When you use these functions, leave clipboard during execution. Do not perform any copy operations.
  • Ignore list does not work correctly in some cases (See "About Ignore List" for details)

Environment

Ruby 1.9.2, 1.9.3 or 2.0.0
Windows XP, Windows 7
*hiatus is tested only in JA and EN environment. However, it might work correctly on other languages as chardet2 library is implemented to support various encodings.

Installation

  1. Install Ruby 2.0.0. Check on tk option on installation
  2. Install GNU Aspell (Mac, Win) and dictionaries you need.
  3. Add 'C:\Program Files (x86)\Aspell\bin' to your environmental variable PATH.
  4. On 'C:\Program Files (x86)\Aspell\bin', copy aspell-15.dll and save it as aspell.dll. Also save pspell-15.dll as pspell.dll.
  5. Start command prompt and run following commands
    gem install nokogiri
    gem install zip
    gem install ffi
    gem install ffi-aspell
    gem install chardet2

How to use hiatus?

Fill in necessary fields on config.yaml, and run hiatus.rb.
Then error report will be generated.

About config.yaml

 required:  
   bilingual: Folder path of the target bilingual files (including subfolders)  
   output: Folder path of the output report  
   report: Format of the output report (Currently, only xls)  
   source: Source Language  
   target: Target Language  
   glossary: Folder path of the Glossary files (including subfolders)
   monolingual: Folder path of the Monolingual files (including subfolders) 

check: Choose true or false for each check.
   glossary: true  
   inconsistency_s2t: true  
   inconsistency_t2s: true  
   missingtag: true  
   skip: true  
   identical: false   
   monolingual: true  
   numbers: true  
   unsourced: true  
   unsourced_rev: true   
   length: false 
   software: true 
   spell: true 

 option:  
   filter_by: For XLZ - Only when the "Note" value is same as this value, the entry will be checked. Other entries will be skipped.   
   ignore100: true/false. For TTX/XLZ/SDLXLIFF, when true, 100% match will be skipped.  
   ignoreICE: true/false. For XLZ/SDLXLIFF, when true, ICE match will be skipped.  
   ignorelist: Path to the ignore list (XLSX file)

About Ignore List

You can skip known false errors by specifying ignore list.
Open the hiatus report (XLSX file) and mark ignore in "Fixed?" column (column M), and save it as XML spreadsheet 2003 format.
Then specify the full path of the XML file in the ignoreList field. Use semicolon to specify multiple files.
For example:

   ignorelist: Y:\Sample_files\130412_report.xml  
   ignorelist: Y:\Sample_files\130412_report.xml;Y:\Sample_files\130522_report.xml  

Then, marked errors will not reported next time.

Note:
You can specify XLSX (or CSV file) in ignoreList field, however, it is not recommended as reading XLSX file is unstable. XML file is recommended.

How to create Glossary file?

See the following instructions and the sample files in !Sample_files folder.

Glossary File Format

Four-Column TAB delimited Text
UTF-8 without BOM is recommended (Encoding is automatically detected by chardet)

Structure

Column 1Column 2Column 3Column 4
SourceTargetOptionComment
ColumnDescription
SourceGlossary source term. RegExp supported. Required
TargetGlossary target term. RegExp supported. Required
OptionConversion option. Required
CommentComment. Optional

About Options

Available options are combination of followings

OptionDescription
iignore case + Auto Conversion
mmultiline + Auto Conversion
eextended + Auto Conversion
zNo Conversion + No RegExp + Case-Insensitive
BlankNo Conversion + No RegExp + Case-Sensitive (= As is)
  
Prefix # 
#<X>Auto Conversion OFF. When you use your own RegExp, add # at the beginning of the option field

Sample

Server	 サーバー	z
(?:node|nodes)	ノード	#i	ノードの訳に注意
import(?:ing)	インポート	#i
Japan	日本		JapanはCase-sensitive
run	走る	i	
(?<!start¥-|end¥-)point	点	#i	Feedback No.2

You can try Ruby RegExp on rubular.
RegExp is based on onigumo, see Ruby 2.0.0 reference for details of RegExp available in Ruby 2.0.0.

How to create Monolingual file?

See below and the sample files in !Sample_files folder.

Monolingual File Format

Four-Column TAB delimited Text
UTF-8 without BOM is recommended (Encoding is automatically detected by chardet)

Structure

Column 1Column 2Column 3Column 4
s or tExpressionOptionComment
ColumnDescription
s or tSegment to search. 's' is source, 't' is target segment. Required
ExpressionSearch expression. RegExp supported. Required
OptionConversion option. Required
CommentComment. Optional

About Option

Available options are combination of followings

OptionDescription
iignore case + Auto Conversion
mmultiline + Auto Conversion
eextended + Auto Conversion
zNo Conversion + No RegExp + Case-Insensitive
BlankNo Conversion + No RegExp + Case-Sensitive (= As is)
  
Prefix # 
#<X>Auto Conversion OFF. When you use your own RegExp, add # at the beginning of the option field

Sample

t	;	#	全角セミコロン;を使用しない
t	[\p{Katakana}ー]・	#	カタカナ間の中黒を使用しない
t	[0123456789]+	#	全角数字を禁止
s	not	z	否定文?
t	Shared Document	#i	Windows のファイル パスはローカライズする(共有ドキュメント)。
t	[あいうえお]	#	Hiragana left

You can try Ruby RegExp on rubular.
RegExp is based on onigumo, see Ruby 2.0.0 reference for details of RegExp available in Ruby 2.0.0.


For more details, please see
Slide: http://www.slideshare.net/ahanba/how-to-use-hiatus
Demo: http://youtu.be/6yaiI0OS-3c


Author: Ahanba
Source Code: https://github.com/ahanba/hiatus 
License: GPL License

#ruby #localization #tool 

Mark Anderson

Mark Anderson

1616591309

Local Bitcoin Clone launch a trending business in crypto platform

The Blockchain App Factory offers a Local Bitcoin clone platform for its client with an impressive outcome that lures many users quickly. It allows the traders to buy and sell cryptocurrency for paying a particular party. This platform comes with peer-to-peer (P2P) with escrow for secure transactions, which helps in gaining trust and comfort with the feedback mechanism.

#local bitcoin clone script #buy & sell bitcoins with local currency #local bitcoin clone #best local bitcoin clone #local bitcoin exchange script #local bitcoin clone scripts

50+ Useful DevOps Tools

The article comprises both very well established tools for those who are new to the DevOps methodology.

What Is DevOps?

The DevOps methodology, a software and team management approach defined by the portmanteau of Development and Operations, was first coined in 2009 and has since become a buzzword concept in the IT field.

DevOps has come to mean many things to each individual who uses the term as DevOps is not a singularly defined standard, software, or process but more of a culture. Gartner defines DevOps as:

“DevOps represents a change in IT culture, focusing on rapid IT service delivery through the adoption of agile, lean practices in the context of a system-oriented approach. DevOps emphasizes people (and culture), and seeks to improve collaboration between operations and development teams. DevOps implementations utilize technology — especially automation tools that can leverage an increasingly programmable and dynamic infrastructure from a life cycle perspective.”

As you can see from the above definition, DevOps is a multi-faceted approach to the Software Development Life Cycle (SDLC), but its main underlying strength is how it leverages technology and software to streamline this process. So with the right approach to DevOps, notably adopting its philosophies of co-operation and implementing the right tools, your business can increase deployment frequency by a factor of 30 and lead times by a factor of 8000 over traditional methods, according to a CapGemini survey.

The Right Tools for the Job

This list is designed to be as comprehensive as possible. The article comprises both very well established tools for those who are new to the DevOps methodology and those tools that are more recent releases to the market — either way, there is bound to be a tool on here that can be an asset for you and your business. For those who already live and breathe DevOps, we hope you find something that will assist you in your growing enterprise.

With such a litany of tools to choose from, there is no “right” answer to what tools you should adopt. No single tool will cover all your needs and will be deployed across a variety of development and Operational teams, so let’s break down what you need to consider before choosing what tool might work for you.

  • Plan and collaborate: Before you even begin the SDLC, your business needs to have a cohesive idea of what tools they’ll need to implement across your teams. There are even DevOps tools that can assist you with this first crucial step.
  • Build: Here you want tools that create identically provisioned environments. The last you need is to hear “But it works for me on my computer”
  • Automation: This has quickly become a given in DevOps, but automation will always drastically increase production over manual methods.
  • Continuous Integration: Tools need to provide constant and immediate feedback, several times a day but not all integrations are implemented equally, will the tool you select be right for the job?
  • Deployment: Deployments need to be kept predictable, smooth, and reliable with minimal risks, automation will also play a big part in this process.

With all that in mind, I hope this selection of tools will aid you as your business continues to expand into the DevOps lifestyle.

Tools Categories List:

Infrastructure As Code

Continuous Integration and Delivery

Development Automation

Usability Testing

Database and Big Data

Monitoring

Testing

Security

Helpful CLI Tools

Development

Visualization

Infrastructure As Code

#AWSCloudFormation

1. AWS CloudFormation

AWS CloudFormation is an absolute must if you are currently working, or planning to work, in the AWS Cloud. CloudFormation allows you to model your AWS infrastructure and provision all your AWS resources swiftly and easily. All of this is done within a JSON or YAML template file and the service comes with a variety of automation features ensuring your deployments will be predictable, reliable, and manageable.

Link: https://aws.amazon.com/cloudformation/

2. Azure Resource Manager

Azure Resource Manager (ARM) is Microsoft’s answer to an all-encompassing IAC tool. With its ARM templates, described within JSON files, Azure Resource Manager will provision your infrastructure, handle dependencies, and declare multiple resources via a single template.

Link: https://azure.microsoft.com/en-us/features/resource-manager/

#Google Cloud Deployment Manager

3. Google Cloud Deployment Manager

Much like the tools mentioned above, Google Cloud Deployment Manager is Google’s IAC tool for the Google Cloud Platform. This tool utilizes YAML for its config files and JINJA2 or PYTHON for its templates. Some of its notable features are synchronistic deployment and ‘preview’, allowing you an overhead view of changes before they are committed.

Link: https://cloud.google.com/deployment-manager/

4. Terraform

Terraform is brought to you by HashiCorp, the makers of Vault and Nomad. Terraform is vastly different from the above-mentioned tools in that it is not restricted to a specific cloud environment, this comes with increased benefits for tackling complex distributed applications without being tied to a single platform. And much like Google Cloud Deployment Manager, Terraform also has a preview feature.

Link: https://www.terraform.io/

#Chef

5. Chef

Chef is an ideal choice for those who favor CI/CD. At its heart, Chef utilizes self-described recipes, templates, and cookbooks; a collection of ready-made templates. Cookbooks allow for consistent configuration even as your infrastructure rapidly scales. All of this is wrapped up in a beautiful Ruby-based DSL pie.

Link: https://www.chef.io/products/chef-infra/

#Ansible

#tools #devops #devops 2020 #tech tools #tool selection #tool comparison

Mark Anderson

Mark Anderson

1617788072

Embrace your business revenue with local bitcoin clone

The trading in local bitcoin clones provides an efficient platform for buying and selling local bitcoin and other cryptocurrencies. It adds value for users to trade cryptocurrencies locally in this generation. This platform offers P2P exchange with escrow protection for trade to happen safely and securely. It has a feedback mechanism and dispute resolution process that enables trading to be trustworthy and comfortable. The bitcoin clone comes with a customization solution to design as per the business requirement.

Cons of Trading Local Bitcoin Clone :

  • Peer-to-peer (P2P) trade.
  • Updated pricing structure.
  • Rapid Bitcoin Trade.
  • Safer trade with Escrow.
  • Background check for trustworthy traders.
  • Automated trading.

Attractive Features of Local Bitcoin Clone :

  • Two Factor Authentication provides state-of-the-art security solutions for every buyer and seller in the marketplace.
  • The creation of crypto-wallets provides escrow integration and performs safe transactions between buyer and seller.
  • It has multiple coin support to be Escrowed and transact without any inconvenience in the market.
  • It enables current live prices displayed in the market for allowing buyers to have a clear idea of trading the coins.
  • The sellers can advertise coins along with cryptocurrency details for the buyers to open a trade request.

The local bitcoin clone enables users worldwide to trade using local currencies for the exchange of cryptocurrency. The rise of local bitcoin value is high in the marketplace for investors to step forward and generate more business revenue in less time by contacting Blockchain App Factory to provide complete guidance.

##local bitcoin clone ##best local bitcoin clone ##buy and sell local bitcoin clone ##ready-made local bitcoin clone ##buy and sell local bitcoin