An open API service indexing awesome lists of open source software.

https://github.com/box/box-languages

Languages used by other box projects
https://github.com/box/box-languages

Last synced: about 1 year ago
JSON representation

Languages used by other box projects

Awesome Lists containing this project

README

          

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.

# To add a new locale
1. Add the new locale in [index.js](index.js).
2. Bump the version in [package.json](package.json).
3. Run the "Release Box Languages" Jenkins job to publish to npmjs.

# Usage examples:
To get the list of BCP-47 language tags that are officially supported by Box:
```js
const languages = require('@box/languages');
languages.forEach(...do something...);
```

To get the full languages object that are officially supported by Box:
```js
const { boxLanguages } = require('@box/languages');
boxLanguages.forEach(...do something...);
```