2.0.0 • Published 4 years ago
@artibox/locale v2.0.0
Installation
npm install @artibox/locale --save
or
$ yarn add @artibox/locale
Introduction
This package just only includes all locale for artibox
and the interface LocaleDefinition
.
Usage
Definition
Please see the definition first.
All locales are restricted in this definition and each locale is just an object.
Import
Please import each locale since there is no root file.
import { enUS } from '@artibox/locale/en-US';
import { zhTW } from '@artibox/locale/zh-TW';