Skip to content

Generate language list dynamically #125

Open
@blazeu

Description

var localeOptions = {
English: 'en',
Español: 'es',
Polski: 'pl',
'Norwegian Bokmål': 'nb_NO',
}

It needs to be generated dynamically, from the locale files that exists in static/i18n to support #124.

We can generate a JSON file and import that file to replace the JS object in locale.js

The language name can come from a npm package, but do not include that package in the client side js as to not bloat it.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions