crschnick / pdx_unlimiter

A smart savegame manager, editor, and toolbox for all current major Paradox Grand Strategy games.
https://discord.gg/BVE4vxqFpU
GNU General Public License v3.0
230 stars 23 forks source link

Adds Brazilian Portuguese translation #118

Closed EnzoMaitan closed 4 months ago

EnzoMaitan commented 5 months ago

It Adds the PT-BR Translation, as specified on the instructions. All of the translations have a back-up.

One thing that I noticed, I was not able to specify "Brazilian" Portuguese on the ISO lang code, that might be an interesting thing to change, since european and brazilian portuguese are fairly different.

crschnick commented 5 months ago

Thanks for the help, this will be included in the next release. Did you try pt-BR as an identifier? Brazilian Portuguese should be supported somehow

EnzoMaitan commented 5 months ago

You are welcome!

I did try both pt-br and pt-BR, but for both case, it throws an exception java.lang.IllegalArgumentException: Invalid locale format: pt-br java.lang.IllegalArgumentException: Invalid locale format: pt-BR

crschnick commented 5 months ago

Alright I will figure something out once this is merged, I probably need to change the language id parsing but it should be doable.