Red-Dashboard
Red-Dashboard copied to clipboard
Unknown locale 'no_NO'
What part of dashboard are you having an issue with?
- [ ] Documentation
- [x] Dashboard webserver
- [ ] Dashboard cog
What happened?
i can't start the webserver.
What did you expect to happen?
I installed (probably) everything correctly, but the webserver gave an error.

What can we do to reproduce this?
I just installed everything according to the docks.
What is your bot/webserver running on?
- Operating system: Ubuntu/Linux
- Python version: 3.8
- Dashboard webserver version: 0.1.8a
- Dashboard cog version: Irrelevant (latest on 18.05.22)
What are you having issues on?
- Operating system: Irrelevant
- Browser: Irrelevant
Did you mean nb_NO?
Did you mean nb_NO?
please check the screenshot

no_NO doesn't exist due to multiple locales and dialects existing within the country. The proper locale code is nb_NO.
where can i change it?
Not sure but looks like you gotta change it from here https://github.com/Cog-Creators/Red-Dashboard/blob/05dedd3e54a036da66ce7bdd4b1284ccacc9fa68/reddash/app/base/templates/site_template/scripts-sidebar.html#L26
And prolly here too https://github.com/Cog-Creators/Red-Dashboard/blob/05dedd3e54a036da66ce7bdd4b1284ccacc9fa68/reddash/app/constants.py#L52
And this https://github.com/Cog-Creators/Red-Dashboard/blob/2d6135a6229a567e0f0bb13e5c88c2128e891821/reddash/app/translations/no_NO/LC_MESSAGES/messages.po#L19
Everything was as it was, by default. I didn't change anything. just installed everything as per the docks and wrote "reddash"
thanks, you can rename no_NO to nb_NO
I'm reopening this for tracking because we need to fix it ourselves, just because you've edited things on your copy doesn't mean it's fixed for everyone.
@aikaterna where were you? dead? till this date while I was crying to fix it? Sending a PR soon.
Treat others with respect as you interact with issues or PRs on our repo. Watch your tone.
Edit: since @naryal2580 deleted his message, I was responding to and quoting him.
I'm reopening this for tracking because we need to fix it ourselves, just because you've edited things on your copy doesn't mean it's fixed for everyone.
I've opened a Pull Request (#72) to fix this issue :)