Child pages
  • Customization via I18N

Versions Compared

Key

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

...

Code Block
i18n.seti18nMessage({color:#2a00ff}'servoy.lbl.date'{color}, {color:#00c800}utils{color}.stringReplace(i18n.getI18NMessage({color:#2a00ff}'servoy.lbl.date'{color}),{color:#2a00ff}'/'{color},{color:#2a00ff}'-'{color}))


Seperators

Formatting defaults need to be specified in the English(US) format the dot (".") as decimal separator (and comma as 1000 separator). Decimal values withing code need to be specified in English format as well. This will automatically translated to the end users format when he runs the code.
For example in Dutch the separator for decimals is a ','. In the format on a field you will have to enter the English format for a number for example '#.00'. When a user with the locale 'Nederlands(Nederland)' will use the solution and enters '23' into the field. The field will display '23,00'