Localization

To do localization it is used 2 core properties.
They are: i18n and lang.
i18n sets language words and formatting options.
lang overwrite language options.

Example


new FancyForm({
  title: 'Localization - German',
  i18n: 'de',
  lang: {
    loadingText: 'Lade Daten ...',
    thousandSeparator: '.',
    sourceText: 'Quelle',
    paging: {
      of: 'von [0]',
      info: 'Zeilen [0] - [1] von [2]',
      page: 'Seite'
    }
  }
  ...
});

Params

decimalSeparator

String

Decimal separator sign.

date

Object

Date words, formats and options.

loadingText

String

Loading text.

paging

Object

Paging words.

thousandSeparator

String

Thousand separator sign.

sourceText

String

Source text.