DeDiamondPro / Resourcify

In-game resource pack, data pack and shader browser and updater
https://modrinth.com/mod/resourcify
GNU General Public License v3.0
25 stars 4 forks source link

Add localized language translations #5

Closed surfishs closed 5 months ago

surfishs commented 1 year ago

Not everyone is fluent in English and we need to optimize the readability of the interface for them.

DeDiamondPro commented 1 year ago

This is something I definitely want to do eventually but because of the amount of data displayed to the user that is dynamically fetched from the modrinth API (mainly categories) this is more challenging then it seems. This will probably be something for after some of the new feature I am working on now are done.

surfishs commented 1 year ago

I look forward to that day, and by the way, since you have implemented the download and installation of material packs through the API, why can't the download of shaders (IRIS) also be made into this mod by the way.

DeDiamondPro commented 1 year ago

I look forward to that day, and by the way, since you have implemented the download and installation of material packs through the API, why can't the download of shaders (IRIS) also be made into this mod by the way.

bc96ba4ee7a3a494c4ea0d1491e2793194bbf6d1

surfishs commented 1 year ago

I look forward to that day, and by the way, since you have implemented the download and installation of material packs through the API, why can't the download of shaders (IRIS) also be made into this mod by the way.

bc96ba4 forge is a phased out version and I suggest you go for this feature for fabric's Iris Shaders.

DeDiamondPro commented 1 year ago

forge is a phased out version and I suggest you go for this feature for fabric's Iris Shaders.

The commit I sent (bc96ba4ee7a3a494c4ea0d1491e2793194bbf6d1) is for Iris shaders (on fabric) and was added 3 days ago Forge/Optifine has been added like an hour ago. While I agree a lot of creators are switching to fabric, forge is not "phased out" at all when it comes to content mods and that's why I will continue to support it for the foreseeable future.

Amirhan-Taipovjan-Greatest-I commented 11 months ago

Yeah, I want this feature too!

DeDiamondPro commented 11 months ago

This will probably be added when modrinth adds localization support, which I know they are working on.

Amirhan-Taipovjan-Greatest-I commented 11 months ago

This will probably be added when modrinth adds localization support, which I know they are working on.

Yeah, I'm waiting for it too.

DeDiamondPro commented 5 months ago

Support for localizations has been added in 7e341d43edb70f2bd8b214b5262c50373d581b20, if you would like to contribute localizations you can do so by creating a new file in src/main/resources/assets/resourcify/lang with the file name <language_code>.json (you can find the language code in the wiki in the locale code in-game column). Then you can translate the strings from the en_us.json file into the language you want to translate to. If you don't have the time to translate everything partial translations are also welcome!