Comments (5)
ast
is already in config.js
, just commented out.
from mathjax-i18n.
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;
}
},
from mathjax-i18n.
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.)
from mathjax-i18n.
Thanks. I'll look into the Polish config.
from mathjax-i18n.
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
from mathjax-i18n.
Related Issues (11)
- update for v2.6 HOT 2
- i18n of Unicode names HOT 6
- Update for MathJax 2.6 HOT 12
- Typo in Portuguese language selection in drop-down menu
- add new languages for v2.7
- update template
- Please change access rights for localisation HOT 2
- Updates for v2.7.2
- Removing `cookieConfig` string from all locales HOT 3
- Mark/Remove proper nouns HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathjax-i18n.