Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjust i18n language code #47

Merged
merged 3 commits into from Jul 19, 2019
Merged

adjust i18n language code #47

merged 3 commits into from Jul 19, 2019

Conversation

Lichtjaeger
Copy link
Contributor

Looks like the "Accept-Language" header does not make a difference between "de-DE", "de-AT" or "de-CH" in some browsers.

We need to rename the i18n folder to "de" to make it work in all browsers. Maybe it would make sense to rename the "en-US" folder to simply "en" too.

In addition, I reworded 2 lines to make them feel more "natural".

Sorry for the extra work.

@gfcittolin
Copy link
Member

Never mind, I'm merging and publishing it. I've checked Node-RED's locales folder and they use a de folder and a en-US one, so i think we can keep the English one

@gfcittolin gfcittolin merged commit 4ba7bbb into st-one-io:master Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants