Difference between revisions of "Localyzer Dashboard FAQ"
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
− | = What are the |
+ | = What are the Localyzer Source Issues?= |
− | In the Resource Manager Dashboard, the number of |
+ | In the Resource Manager Dashboard, the number of Localyzer Issues is shown. |
[[File: LRMSourceIssues.jpg |600px]] |
[[File: LRMSourceIssues.jpg |600px]] |
Latest revision as of 20:35, 23 February 2021
Contents
The Resource Manager Completion Report indicates 100% but some kits are outstanding. What does it mean?
The Completion Report is based on the base files (say, en US files) and the translated files (say de and fr) to determine how many keys, how many files, how many base words do not have a translation. If the French files, the keys in the base file, and the translated texts are present, the Completion Report will say 100%.
If the base file text (en US for instance) has been modified, prep kits should be sent for translation. The source files still have the equivalent translated files, with all the keys and all the text, so it remains at 100%. If keys are added to the base file text, the Completion Report will show lower than 100% until the new keys are translated and returned.
What are the Localyzer Source Issues?
In the Resource Manager Dashboard, the number of Localyzer Issues is shown.
Selecting the issues will show all the issues and the cause for that issue and you can see the breakdown in the types of issues using the selections on the left side of the page.
For this case, the majority of the issues are LRM Src Tran-Missing File Check
and LRM Src Tran-Missing Key Check
which simply mean that the files have not been translated yet, so there are no translated files or keys.
See LRM Checks for more information about these issues. Unless the issues are 'Critical', these are warnings and prepkits can still be created.
What are critical errors and how do I fix them?
Suppose you have a .properties resource file that looks like:
AKEY_1=Well, my heart went boom AKEY_1=When I crossed that room AKEY_2= AKEY_3=And I held her hand in mine we danced through the night AKEY_4={num_of_beatles, plural, one{Ringo}} AKEY_5=And we held each other tight
When the automation job is run that contains that resource file, the result on the LRM Dashboard will look like:
Since there are critical errors, no prepkits can be created. Selecting the red text will go to the Issues page to see what the critical errors are. Opening up the file, there are actually 4 issues, but only 3 of them are critical.
The three critical issues are:
- There are two AKEY_1 values. Cannot have duplicate keys.
- "we danced through the night" has no associated key
AKEY_4={num_of_beatles, plural, one{Ringo}}
is badly formatted ICU.
And one Minor issue:
- AKEY_2 has no associated text.
Fix the critical issues, check the resource file into the repository and run the automation job again and the critical errors on the LRM Dashboard should disappear.
Why am I getting this Date Format Check?
Date formats should not be the responsibility of a translator. Developers must write i18n code which handle formatting based on a locale framework.
The Date Format check is based on Java's Date Format syntax: https://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html
This check indicates a string in a resource string could be a date format. For instance, the following text could be date formats:
mm/dd/yyyy
D
F
km
h:m
mm
m/s
and are tagged as such potential date format.
F
could be the "day of the week in months", etc.