@moi-solutions/camelot-helper-i18n

Helper of internationalization.

Usage no npm install needed!

<script type="module">
  import moiSolutionsCamelotHelperI18n from 'https://cdn.skypack.dev/@moi-solutions/camelot-helper-i18n';
</script>

README

@moi-solutions/camelot-helper-i18n

Helper of internationalization.

Example

import I18n from '@moi-solutions/camelot-helper-i18n';
import locales from './locales';
I18n.load(locales);

...
I18n.t('title');
I18n.t('other');
...

Generate new version

Update version property on package.json.

$ yarn test