YouTrack Standalone 2017.3 Help

Localization

The language setting for your YouTrack server is set system-wide. When you write workflow rules that include notifications and messages, simply enter the text in the language that is used for your system. For example, if your system language is French, you set the notification that is displayed for a required field as follows:

issue.fields["Due Date"].required("S'il vous plaît préciser la date");

The default workflows that are bundled with YouTrack are localized in all supported languages. These workflows use the i18n function to create a localized text string. This function references the source string and returns a localized string based on the default language that is used in the system.

This function only works with strings that have been localized for default workflows. If you want to modify the text that is used in a default workflow, remove the i18n function and replace the source text string with a static string literal in the desired language. This removes the reference that displays the localized string and lets you set the text directly.

Last modified: 7 March 2019