Translating

ICU Message Format (Strings)

Content is machine translated from English by Phrase Language AI.

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 Advanced tab of the Project settings 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 Raw ICU view to the Plural forms view to see changes. Work with the Plural forms view to avoid potential ICU syntax errors.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.