Difference between revisions of "What are the Localyzer locales"

From Lingoport Wiki
Jump to: navigation, search
(Pseudo, Trackback and Instrumentation Locales)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
==Introduction==
 
 
[[File:WhatAreLocales.jpg|700px|center]]
 
[[File:WhatAreLocales.jpg|700px|center]]
   
Line 10: Line 10:
 
[[Resource File(s) Format| Step 7: Resource file formats]]
 
[[Resource File(s) Format| Step 7: Resource file formats]]
   
  +
[[Creating a Localyzer Project |<== Back to Step 5: Which MT or TMS will Localyzer use?]]
   
----
 
   
  +
== More Locale Configuration ==
[[Step by Step Project Creation |Step 1:Data Source Credential for the project]]
 
   
  +
=== Pseudo, Trackback and Instrumentation Locales ===
[[Choose a Repository|Step 2:Choose a Repository]]
 
  +
The resource files with these extensions look like translated files in the repository, but serve different purposes.
   
  +
* Pseudo-localization shows what translated files with more characters and non US-ASCII characters would look like even before any translation takes place. It is used to gauge what translations will look like in code. The pseudo locale defaults to '''eo''' and can be changed as needed. For information on pseudo-localization, see: https://lingoport.com/what-is-pseudo-localization/ and the Pseudo-Localization section in this document.
[[Name The Project and Type |Step 3: Name the Project]]
 
  +
* The trackback locale creates mapping files between a running application and the resources found in the repository.. The trackback locale defaults to '''ia''' and is used in conjunction with LocalyzerQA. Configuring this locale is required for LocalyzerQA.
  +
* The instrumentation locale is not used at this stage, it will be used for additional features in the future.
   
  +
=== Base and Target Locales===
[[Creating a Globalyzer Project |Creating a Globalyzer Project - Step 4: Globayzer Lite Definition File]]
 
   
  +
* You can change the base and target locales by selecting the dropdown menu under “Locale name” in their respective sections. Changing the locale will automatically change the repository locale code and MT locale code as well.
[[Creating a Localyzer Project| Creating a Localyzer Project - Step 5: Which MT or TMS will Localyzer use ]]
 
  +
* You can also manually change the repository locale code as needed (for example, if your resource files use '''en-US''' instead of '''en''' or '''fr-FR''' instead of '''fr''').
 
  +
* Additional target locales can be added by selecting the '''Add target locale''' button below the list of locales.
[[What are the Localyzer locales| Step 6: What are the locales Localyzer is acting on? ]]
 
  +
* Locales can also be removed by hovering over the respective row and selecting the red trash icon.
 
[[Resource File(s) Format| Step 7: Resource file formats]]
 
   
  +
'''Example:'''
[[Include and Exclude Patterns|Step 8: Set up optional include or exclude patterns]]
 
  +
If the base resource file is '''file_en_US.properties''' and the target locales are '''fr_FR, fr_CA, es, de'''. The page will look like:
   
  +
[[File:LocaleSettings.jpg|700px|center]]
[[Optional Localyzer Settings|Step 9: Optional Advanced Localyzer Settings]]
 
   
  +
And the resulting target files will be file_fr_FR.properties, file_fr_CA.properties, file_es.properties and file_de.properties.
[[Grant Users and Teams Access | Step 10: Grant Users and Teams Access]]
 

Latest revision as of 22:04, 13 September 2023

Introduction

WhatAreLocales.jpg
  • Select the Base locale that will be used. Generally it is en, but can also be en_US or en-US.
  • Select if Pseudo locale, Trackback locale or Instrumentation locale will be done for this project. These have default values that can be changed. If these are selected, another process is added after the job analysis.
  • Select the Target locales and match it to the Locale Name. Different Machine Translation and Translation Management Systems have different lists of locales.

Select Next

Step 7: Resource file formats

<== Back to Step 5: Which MT or TMS will Localyzer use?


More Locale Configuration

Pseudo, Trackback and Instrumentation Locales

The resource files with these extensions look like translated files in the repository, but serve different purposes.

  • Pseudo-localization shows what translated files with more characters and non US-ASCII characters would look like even before any translation takes place. It is used to gauge what translations will look like in code. The pseudo locale defaults to eo and can be changed as needed. For information on pseudo-localization, see: https://lingoport.com/what-is-pseudo-localization/ and the Pseudo-Localization section in this document.
  • The trackback locale creates mapping files between a running application and the resources found in the repository.. The trackback locale defaults to ia and is used in conjunction with LocalyzerQA. Configuring this locale is required for LocalyzerQA.
  • The instrumentation locale is not used at this stage, it will be used for additional features in the future.

Base and Target Locales

  • You can change the base and target locales by selecting the dropdown menu under “Locale name” in their respective sections. Changing the locale will automatically change the repository locale code and MT locale code as well.
  • You can also manually change the repository locale code as needed (for example, if your resource files use en-US instead of en or fr-FR instead of fr).
  • Additional target locales can be added by selecting the Add target locale button below the list of locales.
  • Locales can also be removed by hovering over the respective row and selecting the red trash icon.

Example: If the base resource file is file_en_US.properties and the target locales are fr_FR, fr_CA, es, de. The page will look like:

LocaleSettings.jpg

And the resulting target files will be file_fr_FR.properties, file_fr_CA.properties, file_es.properties and file_de.properties.