Opened 7 years ago

Last modified 3 years ago

#10135 confirmed Task

Norwegian language confusion

Reported by: Mathias-S Owned by:
Priority: Nice to have (we want to work on it) Milestone:
Component: UI : Language Version: 3.0
Keywords: Cc:

Description

In CKEditor, there are two Norwegian languages: Norwegian bokmål (nb) and Norwegian (no). Both of these are currently identical.

There are actually two official Norwegian written languages: Norwegian bokmål (nb, used by ~85%) and Norwegian nynorsk (nn, 15%). They're mutually intelligible.

If the variant isn't specified (just Norwegian, "no"), it's going to be bokmål since it's the dominant variant. So really, nb and no are identical languages.

Therefore, I suggest that "Norwegian" gets renamed to "Norwegian nynorsk" (nn), so that there will be a language file for both variants of Norwegian (nb and nn) and so that the nynorsk translation can be based on the bokmål one.

As far as user agent language detection goes:

  • nb: User agents nb, no, nb-no, no-no
  • nn: User agents nn, nn-no

Change History (8)

comment:1 Changed 7 years ago by Anna Tomanek

Status: newconfirmed

Thanks a lot for your input, Mathias! We will see what the best way to change this is and fix this for future CKEditor versions.

comment:2 Changed 7 years ago by Jakub Ś

Version: 4.0.2 (GitHub - master)3.0

Files have been the same from CKEditor 3.0.

comment:3 Changed 4 years ago by Mathias-S

As the Norwegian translator for this project it's very discouraging to be forced to translate all strings twice, and at the same time making sure they're identical. Although this ticket was filed two years ago, the issue is much older and it persists into CKE 4.5 (!).

The simplest fix would simply be to keep the macrolanguage (no) and ditch nb altogether, since there are no Nynorsk translators anyway.

The second fix would be to rename either no.js to nn.js and hope someone translates the bokmål strings to nynorsk (I could do that).

In any case, the current solution is the worst. It's like maintaining a "html" and "html5" version separately, even if the code is identical. It makes no sense.

I will cease to translate the "no" language files until a fix is issued, as most user agents will request the nb file anyway.

comment:4 Changed 4 years ago by Wiktor Walc

Milestone: CKEditor 4.6.0

comment:5 Changed 4 years ago by Anna Tomanek

Hi Mathias,

we are terribly sorry that this issue has slipped our attention for so long. You are totally right that current situation is wrong and this issue should have been fixed long ago. We are targeting this fix to the next release as there is not enough time to do it in 4.5 (which is due to be released any moment now). Hope you can understand this.

Again, thanks a lot for your help (and patience) on this, and with CKEditor translations in general throughout all these years!

comment:6 Changed 3 years ago by Marek Lewandowski

Milestone: CKEditor 4.6.0CKEditor 4.6.1

comment:7 Changed 3 years ago by Marek Lewandowski

Milestone: CKEditor 4.6.1CKEditor 4.7.0

comment:8 Changed 3 years ago by Marek Lewandowski

Milestone: CKEditor 4.7.0
Priority: NormalNice to have (we want to work on it)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy