-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
featureNew feature or requestNew feature or request
Description
// autoload locale files from locales folder, support for JSON and YAML.
// based on https://github.com/fnando/i18n
export default class I18N {
static defaultLocale = ''
static locales = []
static fallbackLocales = []
static missingLocale = ['fallback', 'warning', 'error']
locale = ''
isLocale(name = '') {}
isLocaleExist(name = '') {}
static translate(name = ''|[], options = {}) {}
static t(name = '', options = {}) {
return this.translate(name, options)
}
static plural(name = ''|[], options = {}) {}
static localize(name = ''|[], options = {}) {}
static l(name = '', options = {}) {
return this.translate(name, options)
}
i18n.numberToHumanSize(123)
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request