Child pages
  • Internationalization - I18N

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Java Virtual Machine (JVM) level - setting the locale languagecountry and (optional) variant Java arguments. This will determine the formats used by the Servoy Clients.
    Since multiple countries may speak the same language, but the number/date formats are different from one country to another, the country argument is needed to ensure precision to the formats used by the application.
    Example This is an example of setting the locales for Germany, with specific for Macintosh platforms.

    Code Block
    -Duser.language=de -Duser.country=DE -Duser.variant=MAC

    A number format used by Servoy will therefore be: 123.456,789
    See more information on Oracle's page Internationalization: Understanding Locale in the Java Platform.

  2. Servoy Application Server level - setting the Locale Settings on the Servoy Server Home page; the formats set will be applied to all fields that do not have a format set at table or field level.
    2.1. The Smart Client's locale formats can be also set via Edit > Preferences > Locale; the formats set in this way will be applied on top of the Admin Page settings.
  3. table level - setting the Default format under Details tab on a column, in the Table Editor; the format set will be applied to all fields having the column as data provider, that do not have a format set on field level.
  4. field level - setting the format property of a field in Properties view.

...