![]() The reason for this is that the word "engage" starts with en, which is the source language's language code. So because the source language is English (en) and the file name contains the word engage preceded by an underscore before the file extension, the whole word is replaced by the target language's language code. So because the source language is german (de) and the file name contains the word delete preceded by an underscore before the file extension, the whole word is replaced by the target language's language code. The reason for this is that the word "delete" starts with de, which is the source language's language code.Ģ- Example 2, source English UK, target FrenchĮxpected behaviour: messages _engage_fr_FR.propertiesĪctual behavior (wrong): messages_fr_FR.properties If file name is composed of at least two words where the last word starts with the source language's language code and is separated from the previous word by an underscore, the Automatic Action will replace the whole second word, mistaking it for a language code.ġ- Example 1, source G erman (DE), target English UK:Įxpected behaviour: messages _delete_en_UK.propertiesĪctual behavior (wrong): messages_en_UK.properties The Automatic Action will recognize the language code and replace it with the target language's language code. If the source file contains a language code preceded by an underscore, the target file created after Save or Save target will retain the same name. Target file created by the automatic step Java ResourceBundle File Renaming (LIB): Test_fr_FR.properties. ![]() The file is saved into the target language folder) Target file created by a Save or Save target automatic action or in Browser Workbench: Test.properties (The file name remains the same as the source.Example with a project translated into French (France): properties file in the target language folder, but it creates a copy of it and renames it adding the ISO Language code associated with the target locale. Summarizing, this is how this Automatic Action works: WorldServer - how does the "Java Resource Bundle File Rename" Automatic Action work? This article explains the exact behavior: The Automatic Action Java Resource Bundle File Rename works specifically for *.properties files and renames them according to the target language's code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |