Git Product home page Git Product logo

Comments (2)

ZieIony avatar ZieIony commented on September 21, 2024

It's not strange, Polish has more forms as well. Check out the Polish translation. For example:

<plurals name="carbon_hoursAgo">
    <item quantity="one">godzinę temu</item>
    <item quantity="few">%d godziny temu</item>
    <item quantity="many">%d godzin temu</item>
    <item quantity="other">%d godziny temu</item>
</plurals>

So it has cases for 1, then for 2, 3, 4, 22, 23, 24, etc, then many is for other integral numbers and other is for real numbers.

In Russian it would be:

<plurals name="carbon_hoursAgo">
    <item quantity="one">час назад</item>
    <item quantity="few">%d часа назад</item>    <!-- 3 часа назад -->
    <item quantity="many">%d часов назад</item>    <!-- 7 часов назад -->
    <item quantity="other">%d часа назад</item>    <!-- 0.5 часа назад -->
</plurals>

As far as I know Russian forms for small integers and reals are identical.

from naturaldateformat.

ZieIony avatar ZieIony commented on September 21, 2024

Russian translation is now available and as far as I know - it's correct

from naturaldateformat.

Related Issues (4)

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.