OMGDuke / protondb-decky

ProtonDB Badges is a plugin for Decky Loader to display tappable ProtonDB badges on your game pages
https://decky.xyz/
GNU General Public License v3.0
96 stars 10 forks source link

Add Multi-Language Support #51

Closed ThomasEricB closed 1 year ago

ThomasEricB commented 1 year ago

Please consider adding a way to change language/ or to support other languages, so people like me could translate this plugin to other languages like Portuguese. Thank you, Thomas.

OMGDuke commented 1 year ago

Agreed makes sense. I'll try to find some time this weekend

ThomasEricB commented 1 year ago

Agreed makes sense. I'll try to find some time this weekend

Thank you! Also, if you can, add the strings to be translated on crowdin.com so it's more easily organized, though people could also submit their translations through here if you want

OMGDuke commented 1 year ago

https://crowdin.com/project/protondb-decky

Plugin now supports localisation based on the language set in steam deck settings, defaulting to English if the language is not supported

ThomasEricB commented 1 year ago

@OMGDuke Thank you!!! I just finished translating Brazilian Portuguese based on the Proton DB's Brazilian Portuguese translation...

OMGDuke commented 1 year ago

Thanks very much, I appreciate it! Will go live in the next update which I'm preparing now!

OMGDuke commented 1 year ago

Apologies, I had to redo the Github integration as it wouldn't let me change the branch it was targeting. (First time using Crowdin) I've had to reupload your translations but your name is no longer beside them. I'm really sorry! Didn't want you to think I'd removed it on purpose.

Just trying to work out how to get Crowdin to export with the proper file names for Portugal and Brazil Portuguese and then I'll get the update ready

ThomasEricB commented 1 year ago

Don't worry!

ThomasEricB commented 1 year ago

@OMGDuke By the way, Brazilian Portuguese and European Portuguese should be their own categories since the words they use are vastly different from ours here in Brazil.

OMGDuke commented 1 year ago

@OMGDuke By the way, Brazilian Portuguese and European Portuguese should be their own categories since the words they use are vastly different from ours here in Brazil.

Yeh, currently crowdin is trying to export them both as pt so trying to separate out to pt and pt-br as that's what the steam deck uses