txty-io / texterify

The translation and localization management system.
https://texterify.com
Other
169 stars 14 forks source link

Unset plurals are exported as empty string #141

Closed chrisgblr closed 1 year ago

chrisgblr commented 1 year ago

If I export a key with pluralization enabled, plural forms which i don't define are exported as empty strings. Defining only other and one i get the following output:

"test_plural_key": {
 "other": "{} cars,
 "zero": "",
 "one": "One car",
 "two": "",
 "few": "",
 "many": ""
},

My translation framework returns an empty string if provide 0 as argument. An option to enable/disable exporting unset plural forms would be awesome.

chrztoph commented 1 year ago

This feature has been implemented and will be available in the next release. Thank you for your feedback.