Precedence rules for showing the language and font
- Last UpdatedJul 22, 2024
- 1 minute read
All elements and animations that can be translated follow these precedence rules for showing the translated text:
-
The default language holds the master language text for the translation.
-
The secondary languages use the default language's text if no specific translation exists for the secondary language.
-
If a specific translation value exists for a secondary language, that text is shown instead of the default language's text.
The precedence rules for which font to use for a graphic element that supports visual text are as follows:
-
If there is no text translation for an element, the element shows the text in the default language.
-
If there is a specific translation in the secondary language and no translated font specified for the element, the element shows text using the font specified in the Galaxy for that language.
-
If there is a specific translation in the secondary language and a specific font set for the element, the element shows the text using the specific font.
For example:
-
You create a TextBox element on a graphic with the text "English String." The Galaxy-configured languages are English with Arial font and German with Tahoma font.
-
You switch over to the German Language. The TextBox element still shows "English String" with the Arial font.
-
You change "English String" to "German String." Because there is now a translation for this string, the TextBox shows "German String" with the Tahoma font.