LRM Source Base Checks: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Source Base Checks == | == Source Base Checks == | ||
Checks against base resource files in the local repository. | Checks against base resource files in the local repository. | ||
Note: Critical checks need to be cleared in order for files to be sent to translation. | |||
See [[LRM_Checks|''Localyzer Checks'']] for additional checks. | See [[LRM_Checks|''Localyzer Checks'']] for additional checks. | ||
===LRM Source Base Date Format Check=== | ===DATE_FORMAT_VALUE LRM Source Base Date Format Check=== | ||
* The text associated with this key may be a date format | * The text associated with this key may be a date format | ||
"SEAR_947AM_14": "9:47am", | "SEAR_947AM_14": "9:47am", | ||
===LRM Source Base Duplicate Key Check=== | ===DUPLICATE_KEY LRM Source Base Duplicate Key Check=== | ||
* Critical check | * Critical check | ||
* This key already exists in this file | * This key already exists in this file | ||
| Line 14: | Line 16: | ||
KEY_1=second instance | KEY_1=second instance | ||
===LRM Source Base Encoding Check=== | ===EMPTY_KEY LRM Source Base No Key Check=== | ||
* Critical check | |||
* a key/value pair is missing the key portion in the resource file to be imported, making the text irretrievable by the application. | |||
===EMPTY_VALUE LRM Source Base No Text Check=== | |||
* There should be some text associated with this key | |||
NOTEXT_5= | |||
===ENCODING LRM Source Base Encoding Check=== | |||
* Critical check | * Critical check | ||
* Unexpected encoding or, if an xml file, the prolog may be missing | * Unexpected encoding or, if an xml file, the prolog may be missing | ||
===LRM Source Base File Too Big Check=== | ===FILE_TOO_BIG LRM Source Base File Too Big Check=== | ||
* Critical check | * Critical check | ||
* This resource file exceeds the maximum size supported by the Lingoport Resource Manager | * This resource file exceeds the maximum size supported by the Lingoport Resource Manager | ||
===LRM Source Base HTML Check=== | === HTML_VALUE LRM Source Base HTML Check=== | ||
* There is HTML in the text associated with this key | * There is HTML in the text associated with this key | ||
<pre>AKEY_3=<p><b>A line with html</b></p></pre> | <pre>AKEY_3=<p><b>A line with html</b></p></pre> | ||
===LRM Source Base ICU MessageFormat Check=== | ===ICU_MSGFORMAT_AND_TEXT LRM Source Base ICU MessageFormat Check=== | ||
* Critical check | * Critical check | ||
* The structure of the message is incorrect potentially due to the locale of the file. See http://userguide.icu-project.org/formatparse/messages for formatting examples. See http://cldr.unicode.org/index/cldr-spec/plural-rules for locale plural rules | * The structure of the message is incorrect potentially due to the locale of the file. See http://userguide.icu-project.org/formatparse/messages for formatting examples. See http://cldr.unicode.org/index/cldr-spec/plural-rules for locale plural rules | ||
| Line 35: | Line 45: | ||
In addition, if the ICU MessageFormat contains parameters, then the parameters must match. See [[LRM_Import_Checks#LRM_Translation_Parameter_Mismatch_Check|Parameter Mismatch Check]] | In addition, if the ICU MessageFormat contains parameters, then the parameters must match. See [[LRM_Import_Checks#LRM_Translation_Parameter_Mismatch_Check|Parameter Mismatch Check]] | ||
===LRM Source Base Modified Text Check=== | === MIN_MAX_BOUNDARY LRM Source Minimum Maximum Length Check === | ||
* In String Manager, a string length range was configured, either for the minimum length, the maximum length, or both, and the source string does not conform to that range. | |||
===MODIFIED_TEXT LRM Source Base Modified Text Check=== | |||
* The base text has been modified and the translation has not been updated | * The base text has been modified and the translation has not been updated | ||
===NOT_IN_LRM LRM Source Base Not In LRM Check=== | |||
===LRM Source Base Not In LRM Check=== | |||
* Either the entire file or this key is not tracked by the Lingoport Resource Manager | * Either the entire file or this key is not tracked by the Lingoport Resource Manager | ||
===LRM Source Base Unknown Error Check=== | |||
===UNKNOWN_ERROR LRM Source Base Unknown Error Check=== | |||
* Critical check | |||
* There is an error in the base file and LRM cannot identify its source | * There is an error in the base file and LRM cannot identify its source | ||
===LRM Source Base Unknown File/Line Format Check=== | |||
===UNKNOWN_FILE_FORMAT LRM Source Base Unknown File/Line Format Check=== | |||
* Critical check | |||
* Unknown format for file/line or empty file (no key/values found) - The base file/line could not be parsed | * Unknown format for file/line or empty file (no key/values found) - The base file/line could not be parsed | ||
Latest revision as of 19:34, 3 April 2026
Source Base Checks
Checks against base resource files in the local repository.
Note: Critical checks need to be cleared in order for files to be sent to translation.
See Localyzer Checks for additional checks.
DATE_FORMAT_VALUE LRM Source Base Date Format Check
- The text associated with this key may be a date format
"SEAR_947AM_14": "9:47am",
DUPLICATE_KEY LRM Source Base Duplicate Key Check
- Critical check
- This key already exists in this file
KEY_1=first instance KEY_1=second instance
EMPTY_KEY LRM Source Base No Key Check
- Critical check
- a key/value pair is missing the key portion in the resource file to be imported, making the text irretrievable by the application.
EMPTY_VALUE LRM Source Base No Text Check
- There should be some text associated with this key
NOTEXT_5=
ENCODING LRM Source Base Encoding Check
- Critical check
- Unexpected encoding or, if an xml file, the prolog may be missing
FILE_TOO_BIG LRM Source Base File Too Big Check
- Critical check
- This resource file exceeds the maximum size supported by the Lingoport Resource Manager
HTML_VALUE LRM Source Base HTML Check
- There is HTML in the text associated with this key
AKEY_3=<p><b>A line with html</b></p>
ICU_MSGFORMAT_AND_TEXT LRM Source Base ICU MessageFormat Check
- Critical check
- The structure of the message is incorrect potentially due to the locale of the file. See http://userguide.icu-project.org/formatparse/messages for formatting examples. See http://cldr.unicode.org/index/cldr-spec/plural-rules for locale plural rules
ICUKEY_4={ num_of_cars, plural, one {The car is fast} other {The cars are fast} }
In addition, if the ICU MessageFormat contains parameters, then the parameters must match. See Parameter Mismatch Check
MIN_MAX_BOUNDARY LRM Source Minimum Maximum Length Check
- In String Manager, a string length range was configured, either for the minimum length, the maximum length, or both, and the source string does not conform to that range.
MODIFIED_TEXT LRM Source Base Modified Text Check
- The base text has been modified and the translation has not been updated
NOT_IN_LRM LRM Source Base Not In LRM Check
- Either the entire file or this key is not tracked by the Lingoport Resource Manager
UNKNOWN_ERROR LRM Source Base Unknown Error Check
- Critical check
- There is an error in the base file and LRM cannot identify its source
UNKNOWN_FILE_FORMAT LRM Source Base Unknown File/Line Format Check
- Critical check
- Unknown format for file/line or empty file (no key/values found) - The base file/line could not be parsed