earlSt1 / vtt-compendium-folders

Collapsable folders in the compendium directory and folder structures inside compendiums for FoundryVTT
21 stars 18 forks source link

[Feature request] Add multilanguage support #9

Closed lozalojo closed 3 years ago

lozalojo commented 3 years ago

Please add the framework for translating the module to other languages (as other modules do, with an en.json file in a lang folder with keys that we can translate).

I have translated more than 10 modules and this one doesnt support translating.

Thanks and great work!

earlSt1 commented 3 years ago

Sounds like a solid idea. I'll start looking into how to add that in and maybe reach out to you for translation advice?

lozalojo commented 3 years ago

Yes, but I fear that I wont be able to help you in specific technical questions, since I only translate, I have no idea of js :-)

earlSt1 commented 3 years ago

I've created a localization branch, and have added some localizations to lang/en.json (i've replicated compendium-browser). You can use the module.json in that branch to install, and it will take the latest localization changes.

If you'd like to contribute that would be fantastic, and i'll be more than happy to credit you on the readme :)

earlSt1 commented 3 years ago

Localization branch merged into master, providing future support for multiple languages