Kapiainen / Lauhdutin

A Rainmeter skin for launching games.
MIT License
67 stars 8 forks source link

Fixed a little issue with spanish translation #113

Closed BanCrash closed 6 years ago

BanCrash commented 6 years ago

Hello again! I encontered a little issue when translating the skin. In spanish, "none" could be translated as "ninguno" or "ninguna" regarding the genre of the word (For example, in animation settings would be translated as "Ninguna", and in "process" would be translated as "Ninguno"). I made two different ways of solve this issue:

About solution 2, I renamed the strings as suffixes to have all "nones" together. However, if you think it's better to keep consistency I could rename them to their proper name and placed on their right place (for example "setting_animation_label_none").

Kapiainen commented 6 years ago

The second approach would definitely be preferable since not all languages use grammatical genders for nouns and those that do do not all use the same genders (names of genders, number of genders, etc.). I would prefer to have the names be follow the same patterns as other localized strings in the same context just like in your example of setting_animation_label_none.

BanCrash commented 6 years ago

Perfect! I made the changes to adjust to that.

EDIT: I could create another PR to avoid those unnecesary "merge pull request" commits if you want.

BanCrash commented 6 years ago

By the way, when the final version is released, the way I'll have to proceed is to make a PR to development-v3 branch with Spanish language placed inside translation folder? Or somehow else?

Kapiainen commented 6 years ago

By the way, when the final version is released, the way I'll have to proceed is to make a PR to development-v3 branch with Spanish language placed inside translation folder?

That is the current plan. The English translation file is the only one that I can guarantee will be up-to-date whenever a new version is released and will be the only one bundled in the release archives. Other languages will then be added to each release as separate downloads once they are up-to-date. Each version of Lauhdutin may not even require any changes to the translations and some of those changes (e.g. if the key of a translation is renamed from button_label_bangs_none to bangs_label_none) can be handled by the migration system that is included in the localization system.

BanCrash commented 6 years ago

Perfect! All clear then, thanks for the answer!