govin-l10n
v2.3.6
Published
Localization for the Govin components
Readme
Govin-l10n
Using Govin-l10n in development
Installation
npm install --save-dev govin-l10n
npm run buildBasic Use
import locales, {localeData, isRtl} from 'govin-l10n';
import editorMessages from 'govin-l10n/locales/editor-messages';locales: currently supported locales for the Govin projectisRtl: function that returns true if the locale is one that is written right-to-leftlocaleData: locale data for the supported locales, in the format accepted byaddLocaleDatarequired byreact-intleditorMessages: the actual message strings for all supported locales for a particular resource.editorMessagescollects all the strings for the interface, extensions and paint-editor.
