@emartech/ui-framework-utils
v11.3.0
Published
Utilities for UI Framework Services
Downloads
438
Maintainers
Keywords
Readme
UI Framework Utils
Installation
npm install @emartech/ui-framework-utils
Public Utilities:
Keyboard Accessibility Utilites
Date utilites
Theming Utilites
Formatting utilites:
Adding New Language
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 configsrc/format-number/abbreviations.js
: Number formatter abbreviationssrc/format-duration/abbreviations.js
: Duration formatter abbreviationssrc/dateformatter/index.js
: Legacy date formatter (deprecated)
Currently supported languages: en
, de
, es
, fr
, pt
, ru
, tr
, cn
, jp
, cz
, ko
.