PocketByte / LocoLaser

Localization tool to import localized strings from external source to your project.
Apache License 2.0
31 stars 1 forks source link

Base localization with TWO FEW MANY #17

Open Gerz-inc opened 3 years ago

Gerz-inc commented 3 years ago

Hello! I have Base localization as Russian and I couldn't use plurals with 'two, few, many'

var quantities = listOf(Quantity.ONE, Quantity.OTHER)
arrayOf("base", "af", "ak", "sq".....
KamiSempai commented 3 years ago

By default base locale uses English language. Now there is no way no change it. In the version 2.2.1 you can switch off trimming of unsupported quantities via config parameter "trim_unsupported_quantities" : false (by default it switched on).

For me, it's looks not like a good solution for current issue, so I would to keep it open.

In the future I would to provide opportunity to change Base locale. But it requires some refactoring, so I can't guarantee that it will be done soon.

Gerz-inc commented 3 years ago

Super, that is solution for me!

"trim_unsupported_quantities": false