Problem/Motivation
The Montenegrin language (Crnogorski) is not currently available on localize.drupal.org.
However, it has an official ISO 639-3 code: cnr, and is used as the official language in Montenegro.
There is a need from the Drupal community in Montenegro to localize Drupal into their native language.
Steps to reproduce
- Go to https://localize.drupal.org
- Search for "Montenegrin" or language code "cnr"
- Notice it is missing from the available language list
Proposed resolution
Add a new language to localize.drupal.org with the following details:
- Language name: Montenegrin
- Language code: cnr
- Direction: Left to right
- Plural formula: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;
This will enable the community to start translating Drupal into Montenegrin.
Remaining tasks
- Review and approve the addition of the language
- Enable the translation UI for Montenegrin (cnr)
- Start adding or importing translations
User interface changes
The language will be added to the list of available languages on localize.drupal.org and in the Drupal interface language configuration.
API changes
None.
Data model changes
None.
Comments
Comment #1
avpadernoComment #2
gábor hojtsyMore on Montenegrin here: http://en.wikipedia.org/wiki/Montenegrin_language
Do you know of any previous work with this language? Do you have others who would help out with the translation?
Comment #3
colle13 commentedMontenegro has become an independent country in 2006, but it's language is almost indentical with Croatian, Bosnian and Serbian. Still, there are differences which disable me to use those languages on my sites.
Do you mean by "any previous work" in drupal?
I plan to begin by myself, but hope to get some friends join me soon.
Comment #4
gábor hojtsyI meant if you built sites with this language or started the translation already for some other reason. What is the plural formula (see http://translate.sourceforge.net/wiki/l10n/pluralforms) to use with Montenegrin?
Comment #5
bojanz commentedA bit silly to see everyone (teams for serbian, montenegrin, bosnian, etc...) starting from scratch, but I admit I don't know how having the same base would work.
We've had progress on translating into Serbian, maybe you could take that and go from there? I'm not sure how much the terminology is different in Montenegro (how much it's reusable).
Comment #6
colle13 commentedComment #7
colle13 commentedI have succesfuly translated PHP-Fusion CMS in Montenegrin and used it on www.ceap-montenegro.com. Plural formula should be the same as for Serbian and Bosnian (nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2) ).
bojanz is correct. It would be useful to make changes using Serbian, Croatian and/or Bosnian base.
Comment #8
gábor hojtsyYes, unfortunately, currently it is not possible to "branch off" existing translations, so it requires a much bigger commitment to set up similar languages. Are you up to starting off Montenegrin from scratch, or are you interested in helping with building the branching feature maybe? See #608488: Translation inheritance
Comment #9
silverwing commentedComment #10
dinorastoder commentedI would like to help translating to Montenegrin language.
There are differences with Serbian and Montenegrin language and we can't use Serbian translation on our websites.
Comment #11
milosr commentedLanguage name: Montenegrin
Language code: cnr
Direction: Left to right
Plural formula:
nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;The Montenegrin language has the official ISO 639-3 code cnr, assigned by the Library of Congress. It is the official language of Montenegro and has grammatical and lexical distinctions compared to Serbian, Croatian, and Bosnian.
The Drupal community in Montenegro would like to localize Drupal into Montenegrin to make the platform more accessible to native speakers.
We kindly request the addition of Montenegrin (cnr) to localize.drupal.org so we can begin contributing translations for core and contrib modules.
Comment #12
milosr commentedComment #13
milosr commentedHere is the PO file.