ICU (International Components for Unicode) is a set of libraries providing globalization support for the internationalization of software systems.
Translations with ICU message format syntax are supported.
AI chatbots can be very effective at verifying ICU rules.
Enable ICU Message format in the
tab of the window.ICU message format provides:
-
Syntax highlighting
When opened in the translation editor, the different parts of a message are highlighted and displayed along with relevant meta-information such as format type. Individual arguments and formats directly into your target can be applied to the translation to avoid errors introduced by typos. Click on a placeholder in the list of extracted placeholders or directly onto the part of the source content to be used in the target translation.
-
Syntax validation
Correctness of the syntax is validated while translating. This can prevent broken ICU messages in localization files.
-
Preview
ICU message format syntax can be complex and how the translation will look with actual arguments can be previewed. Click on the preview button and assign real-world attributes to the ICU message to see if the translation syntax is correct and all possible cases are supported as expected.
Test values can be assigned for the attributes of a translation in the preview panel. How the string looks is displayed and can be double-checked to ensure that the translation works as expected.
-
Pluralized keys
Pluralized keys containing the ICU message format are translated just like normal pluralized keys by entering the different plural forms via the dropdown menu. Switch from the
view to the view to see changes. Work with the view to avoid potential ICU syntax errors.