Project for listing the locales that other box frontend projects are using when building. When adding a new locale, please bump up the version in package.json before publishing to npmjs.
- Add the new locale in index.js.
- Bump the version in package.json.
- Run the "Release Box Languages" Jenkins job to publish to npmjs.
To get the list of BCP-47 language tags that are officially supported by Box:
const languages = require('@box/languages');
languages.forEach(...do something...);
To get the full languages object that are officially supported by Box:
const { boxLanguages } = require('@box/languages');
boxLanguages.forEach(...do something...);