Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected pluralization behavior #376

Open
vonovak opened this issue Sep 15, 2022 · 0 comments
Open

unexpected pluralization behavior #376

vonovak opened this issue Sep 15, 2022 · 0 comments

Comments

@vonovak
Copy link

vonovak commented Sep 15, 2022

🐛 Bug Report

Hello! I'm here to ask about / report unexpected pluralization behavior. Thank you for looking into this.

To Reproduce

This json file contains translations corresponding to this component. The file was created in crowdin from this source_strings.json file.

Expected behavior

running the translate-fbts script in package.json I'm expecting the output to contain plural forms for cs_CZ like in the input file but they are different:

input has 4 plural froms:

output has 2 plural forms:

    "1hIiOI": {
      "*": "Máte {number of people} sledujících",
      "_1": "Máte 1 člověka, který sleduje"
    },

Link to repo (highly encouraged) or paste

https://github.com/vonovak/i18n-demo

envinfo

  System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.92 GB / 64.00 GB
    Shell: 5.1.16 - /opt/homebrew/bin/bash
  Binaries:
    Node: 16.16.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.11.0 - /opt/homebrew/bin/npm
    Watchman: 2022.07.04.00 - /opt/homebrew/bin/watchman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant