Code Monkey home page Code Monkey logo

Comments (3)

netbe avatar netbe commented on July 17, 2024

Hi @GrzesiekZbozien,

I don't see how to represent plurals into a csv format, that's the issue

from babelish.

GrzesiekZbozien avatar GrzesiekZbozien commented on July 17, 2024

if normal string in csv is represented as key string_name, value-en, value-de, value-fr, etc

What about:

  • use plural_name and quantity, so CSV might look like:
    plural_name.zero, value-en, value-de, value-fr, etc, plural_name.one, value_one-en, value_one-de, value_one-fr, etc, ... plural_name.other, value_other-en, value_other-de, value_other-fr, etc,

Also if CSV2Base wouldn't be able to handle plurals it could be used as normal strings plural_name.zero, plural_name.one, etc.

For now I have removed plurals from our project, but it would be nice to have an option to use them.

from babelish.

4brunu avatar 4brunu commented on July 17, 2024

This would be a great addition, another alternative would be something like plural_name[zero].
This idea was taken from https://localazy.com/docs/cli/ios-format#plurals-in-strings

from babelish.

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.