npm install @emartech/ui-framework-utils
If you want to add a new language to the Emarsys UI, you also have to add it to this utility library in the following places:
-
src/date/locales.js
: Date formatter utility locale config -
src/format-number/abbreviations.js
: Number formatter abbreviations -
src/format-duration/abbreviations.js
: Duration formatter abbreviations -
src/dateformatter/index.js
: Legacy date formatter (deprecated)
Currently supported languages: en
, de
, es
, fr
, pt
, ru
, tr
, cn
, jp
, cz
, ko
.