Skip to content

Commit

Permalink
add plural example
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Mar 5, 2024
1 parent 4801fcc commit 8221884
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions website/mantemplates/crowdin-string-add.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,13 @@ Add a new string with the `app.hello` key to the `strings.xml` file, with labels
----
crowdin string add "Hello world" --file strings.xml --identifier "app.hello" --label app --label home
----

Add a new plural string:

----
crowdin string add Cats --file strings.xml --identifier "ui.cats" --one "cat"
----

In this example, the `<text>` argument is used as the "other" plural form.

If your source language contains more plural forms, you can also specify them using the `--two', `--few', `--many' and `--zero' options.

0 comments on commit 8221884

Please sign in to comment.