Task #29335
closedXLIFF: Add translation hint to labels, which must not be translated
100%
Description
In the Core there are several labels, which contain strings, which must not be translated.
The problem with this is that people on the Translation Server try to translate them as sentences, which would break functionality.
- EXT:cms/cshimages/image1.png
- xEXT_acronym:text
- _MOD_index:now
- xMOD_tx_impexp:import
- index_config:hidden
These labels for example display a certain image or a link "Further help can be found in chapter XXX." Modifying them will break things.
After speaking with Dominique Feyer we came to the conclusion that the best solution for this problem is to add a translation hint to the labels, which may not be translated.
Proposal:<trans-unit approved="yes" id="index">
<source>index_config:hidden</source>
<target>index_config:hidden</target>
<note from="developer">This string contains an internal text, which must not be changed. Just copy the original text into the translation field. For more information have a look at the Tutorial.</note>
</trans-unit>
Possible RegExp for locating the affected strings:<source>[\S]*:[(A-Za-z)]+
Files