Language and Locale

This section explains how to set the language and locale for the application.

  • Language refers to the language used for application labels and messages. The list of available languages is here

  • Locale is a set of parameters that defines the user's language, region and any special variant preferences that the user wants to see in their user interface. The display settings include number formatting, date-time format, currency format and some others.
    For example, the locale determines if the decimal separator in numbers will be a point or a comma. The locale en_us (US English) will use a decimal point (25.7) while the locale de_de (German) will display a decimal comma (25,7).
    Locale can be set at the partition level by the administrator or by users for their own user account.

Setup Options

  • Partition-wide setting – for language and locale

    • Done by admins via URL (non-overridable) or feature flags

  • User settings – for language and locale (if not blocked by partition setting)

Admin

The best option for an administrator to set the locale and language for all users in the partition is by the URL parameters locale and uiLanguage (e.g., locale=en_US&uiLanguage=en). This settings cannot be overridden by users by any other settings in the application or in the web browser.

If using URL parameters is not an option for you, then you can only control the default language and locale that is applied if the user has no settings in the local web browser storage. You have to:

  1. Make sure the auto detection of browser language is disabled (the autodetectLanguage and autodetectLocale feature flags).

  2. Set the default partition locale and language using the following feature flags:

    • intlCode – Sets the locale. The possible values are listed in the Locale column in Localization.

    • pfxCode – Sets the language. The possible values are listed in the ISO 639-1 column in Localization.

If you enable language and locale auto-detection, then the user settings in the browser (preferred language) will always be applied.

End User

If the language and locale is not set by the admin in the URL (you cannot override this), then you can set your preferred locale. Your options differ depending on which platform you are using.

Pricefx Standalone App or SAP C4C, MS Dynamics Users

You can set your locale preference in the Configuration section.
Go to User menu > User Settings and select an option from the Locale (display format) and UI Language drop-down lists.

If this is not set, the application will detect and use the language and locale settings of your web browser – however, this automatic detection has to be enabled by the admin!

To check your browser settings, go to:

  • In Chrome – Preferences > Advanced > Languages

  • In Firefox – Preferences > General > Language

  • For MS Edge or Safari, you have to set the preferred language(s) in the system preferences.

Salesforce Users

If you use the application as a canvas app in Salesforce, you can set the language and locale in My Settings > Language & Time Zone. This setting has priority over any setting in the app's Configuration and also over your web browser language setting.

Found an issue in documentation? Write to us.

 
Pricefx version 12.0