aeon0 / d4lf

Diablo 4 Loot Filter
MIT License
152 stars 38 forks source link

support multiple languages #135

Open dreampiler opened 7 months ago

dreampiler commented 7 months ago

Please support multiple languages. Could you add a language setting and separate the asset folder so that it can be used in languages other than English? It seems like it would be up to the users of each language to fill in the actual data themselves.

aeon0 commented 7 months ago

My biggest pain point for supporting multi language is not the assets. I think the only asset that actually has language specific text in it is the "STASH" texture.

Its keeping the .json files with aspect and affix text up to date.

For affixes the solution might be that the affix name the user is using is what is searched for. So for instance if you put in "control_impaired_duration_reduction" it will automatically check for "control impaired duration reduction" affix text.

But for aspects, uniques and sigils I need to get files with the translated text.

aeon0 commented 7 months ago

Will try to get all needed data from d4data, then multi-language support should be easy.

kngbong commented 4 months ago

d4data has the translated data?