Closed pkra closed 10 years ago
ast
is already in config.js
, just commented out.
Using GWT documentation
"ca": {
menuTitle: "català",
plural: function(n) {
if (n === 1) {return 1} // one
return 2; // other
},
number: function(n) {
return String(n).replace(".", ","); // replace dot by comma
}
},
"cz": {
menuTitle: "čeština",
plural: function(n) {
if (n === 1) {return 1} // one
if (n === 2 || n === 3 || n === 4) {return 2} // two--four
return 3; // other
},
number: function(n) {
return String(n).replace(".", ","); // replace dot by comma
}
},
"so": {
menuTitle: "scots",
plural: function(n) {
if (n === 1) {return 1} // one
return 2; // other
},
number: function(n) {
return n;
}
},
"kn": {
menuTitle: "ಕನ್ನಡ",
plural: function(n) {
return 1; // other
},
number: function(n) {
return n;
}
},
Good work. I glanced through the config.js file and think there is a problem with the Polish plural function, as it returns 0, 1, and 2 rather than 1, 2, and 3, as I think it should. (The return value minus one is used as an index into the list of plural forms, and so it should start at 1 not 0.)
Thanks. I'll look into the Polish config.
For the record. I noticed that the latest twn update dropped Scots again. I'm guessing because I fixed "MathsJax", "MathsML" etc (see #6 ) and the changes haven't been reviewed. I did not update config.js (only did it manually when I generated the locales for v2.4
Some languages are not listed in
config.js
. We should add those that will make it into v2.4.From TranslateWiki.net on 2014-04-10, threshold of 40% completed