JohanFalt / Foundry_WoD20

World of Darkness 20th ed for Foundry VTT
GNU General Public License v3.0
28 stars 23 forks source link

Is it possible for me to add languages on my own? #856

Closed derek-j-jones closed 3 months ago

derek-j-jones commented 4 months ago

Unfortunately, due to the lack of Ukrainian in this system, there are some uncomfortable moments during the game. I would like to add this language in my game, but I'm not sure what I can change and where to make it work, I would be grateful if you could tell me.

JohanFalt commented 4 months ago

Only way is if Foundry supports the language. I took a look and which language setting is Ukrainian?

derek-j-jones commented 4 months ago

Yes, Foundry has a Ukrainian language https://github.com/GMonlineua/FoundryVTT_UA

JohanFalt commented 4 months ago

Yes but what language setting is it? I can't find the name - Ukrainian so I'm guessing it is called something else.

derek-j-jones commented 4 months ago

image

Is that what you're asking?

Veilza commented 4 months ago

Yes but what language setting is it? I can't find the name - Ukrainian so I'm guessing it is called something else.

If you're looking for the language code, it's "uk" that's used for Ukrainian localization. Foundry by default doesn't support it, but that's what the localization module and international standard uses.

Even if Foundry doesn't innately support it, you can still add a localization file for it, also. Set it up the same as the others, like I did in the WoD5 module:

{ "lang": "uk", "name": "Core (Ukrainian)", "path": "lang/uk/core-uk.json", "flags": {} }

JohanFalt commented 4 months ago

In that it is quite easy. I attach the language file to this message so what you need to do is to translate what words you want to have in Ukrainian and then I add the language as an option in next version.

uk.json