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

Unknown locale 'no_NO' #70

Closed
1 of 3 tasks
GameHackerTV opened this issue May 18, 2022 · 10 comments · May be fixed by #82
Closed
1 of 3 tasks

Unknown locale 'no_NO' #70

GameHackerTV opened this issue May 18, 2022 · 10 comments · May be fixed by #82
Labels
2-type-bug/fix Issue about a bug or PR fixing a bug.

Comments

@GameHackerTV
Copy link

GameHackerTV commented May 18, 2022

What part of dashboard are you having an issue with?

  • Documentation
  • 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.
IMG_20220515_104504

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
@GameHackerTV GameHackerTV added the 2-type-bug/fix Issue about a bug or PR fixing a bug. label May 18, 2022
@Drapersniper
Copy link

Did you mean nb_NO?

@GameHackerTV
Copy link
Author

Did you mean nb_NO?

please check the screenshot
IMG_20220515_104504

@Kowlin
Copy link
Member

Kowlin commented May 18, 2022

no_NO doesn't exist due to multiple locales and dialects existing within the country. The proper locale code is nb_NO.

@Kowlin Kowlin closed this as completed May 18, 2022
@Kowlin Kowlin reopened this May 18, 2022
@GameHackerTV
Copy link
Author

where can i change it?

@japandotorg
Copy link

japandotorg commented May 18, 2022

Not sure but looks like you gotta change it from here

reversed_locales = { 'Afrikaans - Suid-Afrika': 'af_ZA', 'العربية - المملكة العربية السعودية': 'ar_SA', 'български - България': 'bg_BG', 'català - Espanya': 'ca_ES', 'čeština - Česko': 'cs_CZ', 'dansk - Danmark': 'da_DK', 'Deutsch - Deutschland': 'de_DE', 'Ελληνικά - Ελλάδα': 'el_GR', 'English': 'en', 'español - España': 'es_ES', 'suomi - Suomi': 'fi_FI', 'français': 'fr', 'français - France': 'fr_FR', 'עברית - ישראל': 'he_IL', 'magyar - Magyarország': 'hu_HU', 'Indonesia - Indonesia': 'id_ID', 'italiano - Italia': 'it_IT', '日本語 - 日本': 'ja_JP', '한국어 - 대한민국': 'ko_KR', 'Nederlands - Nederland': 'nl_NL', 'norsk bokmål - Norge': 'no_NO', 'polski - Polska': 'pl_PL', 'português - Brasil': 'pt_BR', 'português - Portugal': 'pt_PT', 'română - România': 'ro_RO', 'русский - Россия': 'ru_RU', 'slovenčina - Slovensko': 'sk_SK', 'svenska - Sverige': 'sv_SE', 'Türkçe - Türkiye': 'tr_TR', 'українська - Україна': 'uk_UA', 'Tiếng Việt - Việt Nam': 'vi_VN', '中文 - 中国': 'zh_CN', '中文 - 中國香港特別行政區': 'zh_HK', '中文 - 台灣': 'zh_TW' }

And prolly here too

And this

@GameHackerTV
Copy link
Author

Everything was as it was, by default. I didn't change anything. just installed everything as per the docks and wrote "reddash"

@GameHackerTV
Copy link
Author

thanks, you can rename no_NO to nb_NO

@aikaterna
Copy link
Member

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 aikaterna reopened this May 19, 2022
@aikaterna
Copy link
Member

aikaterna commented May 19, 2022

@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.

@psharma04
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2-type-bug/fix Issue about a bug or PR fixing a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants