Code Monkey home page Code Monkey logo

Comments (4)

tikiatua avatar tikiatua commented on May 23, 2024

Hi @phouverneyuff,
thank you for your input. Pluralization is actually quite a difficult topic, especially with languages other than english.

We might have to investigate this a little further, if we want to include this into the library. The solution provided by vue-i18n might be a little crude for most real life requirements.

from vuex-i18n.

phouverneyuff avatar phouverneyuff commented on May 23, 2024

We could almost allow pluralizations to english, portuguese, spanish that are easy to pluralizate.
I think only this will help many peoples even not helping with another languagues.

In my case, using something like in https://kazupon.github.io/vue-i18n/pluralization.html would help me.

from vuex-i18n.

phouverneyuff avatar phouverneyuff commented on May 23, 2024

Here the code that allow pluralization:
https://github.com/kazupon/vue-i18n/blob/dev/src/extend.js#L129

from vuex-i18n.

tikiatua avatar tikiatua commented on May 23, 2024

P.S. Pluralization is now supported - albeit a little bit different then in vue-i18n. Please see in the readme for a usage example.

from vuex-i18n.

Related Issues (20)

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.