Locales
Locale refers to the user interface settings that are based on the language and
country of the user.
Overview
The Locale ID contains the language and country abbreviations. For example, en-US,
en-GB, or it-IT. The country segment determines the date and time format, the data
separator, and the measurement system.
A project can support multiple locales that are configured in the
Locales
property of the Project
node.The presentation engine of a multilingual project uses the configured session locale
to display the interface. The text in the user interface displays according to the
translations available in the
LocalizationDictionary
object
in the Translation
editor.For more information about the available locales, see Available locales.
User locale configuration
The user locale is personal data that specifies the session locale at runtime. Set
the user locale in the
Locale
property of the
User
object. If the
FactoryTalk Optix Studio
does not support the main locale, use C# to have
APIs return nodes and set multiple locales for the same user. The order of user
locales determines the priority for the session locale.When the session locale is set automatically at runtime based on the user locale and
no user locales are configured, the session uses a fallback locale.
TIP:
Use the
Session UI
object
to manage the session locale for a multilingual project that does not have user
locale information. The user must then select the locale at runtime. Provide Feedback