– Unable to choose the main Norwegian language
- This topic has 10 replies, 3 voices, and was last updated 3 weeks, 1 day ago by .
- April 22, 2020 at 11:36 am #2540u
I cannot find the primary Norwegian language setting in language selection.
There are at least four languages in Norway:
– Norsk bokmål
– Norsk nynorsk
More info at https://en.wikipedia.org/wiki/Languages_of_Norway
“Norsk bokmål” is the most used language with the HTML code:
“Norsk Nynors” is mostly used in the western part of Norway. Usually not used in the Northern part and, middle part and northern part of Norway
You must be logged in to access attached files.April 29, 2020 at 10:50 am #2583Verhoeckx
So If I understand you correctly, Publii has support for ‘Norsk nynorsk’ and not for ‘Norsk bokmal’?
I guess Publli uses some kind of library for the spell checking. If we know which library Publii uses we could check if it has the option for ‘Norsk bokmal’.
Tomasz: do you know which language library Publii uses?April 29, 2020 at 11:17 am #2585u
Not support for ‘Norsk bokmal”
‘Norsk bokmal”is the most used language in Norway.May 4, 2020 at 9:39 pm #2628Tomasz DziudaModerator
For such cases there is an option “Custom language code” which allows you to set any language code 🙂
We do not want to include too much languages as it will lead to a very long list of languages on the list.May 4, 2020 at 9:56 pm #2633Verhoeckx
Oh nice! I hadn’t noticed that option!
Is there a list of codes you can choose from? Publii uses some kind off online spell check service?May 4, 2020 at 10:04 pm #2636Tomasz DziudaModerator
The language code does not affect the spellchecker at this moment. In fact e.g. on macOS it detects the language automatically if it is supported. For the hunspell-based platforms we need to check how to set the language and we need to fix it.
Regarding the language codes: https://www.w3schools.com/tags/ref_language_codes.aspMay 4, 2020 at 10:21 pm #2639Verhoeckx
Publii is using something like this?
So it basically uses the spell check function of Chrome/Chromium?May 4, 2020 at 11:10 pm #2640Tomasz DziudaModerator
Electron 8 has built-in spellchecker – the same which is used as in Chromium.May 5, 2020 at 5:11 am #2641u
Sorry for misunderstanding.
Correct language indication is not about spelling.
Properly specifying languages in the HTML code is about SEO – Search Engine Optimization – and SEM – Search Engine Marketing –
For a good result, it is important to follow the instructions given here:
Google Search Console
Webmaster Tools – Bing
and many more.
When the wrong language is set, the site can get unnecessarily poor ranking in the search engine result.
“Norwegian Bokmål” and “Norwegian Nynorsk” are two different languages.
When you specify the wrong language in the HTML code, you counteract the recommendations given in the links above.May 5, 2020 at 4:38 pm #2653Verhoeckx
Thanks for the clarification! Now I understand the reason why you needed the country code!May 5, 2020 at 5:04 pm #2655u
- The topic ‘– Unable to choose the main Norwegian language’ is closed to new replies.