Code Monkey home page Code Monkey logo

Comments (5)

pkra avatar pkra commented on June 3, 2024

ast is already in config.js, just commented out.

from mathjax-i18n.

pkra avatar pkra commented on June 3, 2024

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.

dpvc avatar dpvc commented on June 3, 2024

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.

pkra avatar pkra commented on June 3, 2024

Thanks. I'll look into the Polish config.

from mathjax-i18n.

pkra avatar pkra commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.