Craftopia

Craftopia

Additional Languages for Craftopia
DeerKCS 30. aug. 2023 kl. 21:13
Thai Translation
can you make thai language or create file thai translator? thank you
< >
Viser 1-8 af 8 kommentarer
Sabotember  [udvikler] 31. aug. 2023 kl. 0:01 
Thank you for the suggestion. I use DeepL for the translations, but it does not support Thai yet and I have to find another service to translate... If you, or other Thai speakers, can support this mod, you can add thai dictionary file and language settings via GitHub ( https://github.com/BudgieY/AdditionalLanguagesForCraftopia/tree/20230711.2120/plugins/lang ). Please tell me if you are willing to help me, and I will tell you how to add a language to this mod. Information of machine translating service for Thai is also welcome.
DeerKCS 31. aug. 2023 kl. 0:19 
i agree to help you translate for Thai language. thank you
DarknessNeko 11. sep. 2023 kl. 9:39 
Hi @Sabotember :tabbycat:

I and @Deer Demo Try to added Thai language in this mod.
With manual translate base on en.json file.
And changed to Thai Font in settings.json but Thai character it's showing as this "□□□□"

Can you help me fixing that problem?

----
i also trying to combo with this mod "FontFix字体修复".
It seem showing correctly but not at all.
Only text that reloaded will show correctly.
(i mean re-Active the TextMeshUGUI game object)
Sidst redigeret af DarknessNeko; 16. sep. 2023 kl. 19:07
Sabotember  [udvikler] 15. sep. 2023 kl. 20:16 
Thank you for your cooperation, and sorry I have not prepared a documentation for developers.
To change the font, you need to specify the Unicode range for the new font in the spcUnicode option. The odd-numbered Unicodes are the beginnings and the even-numbered Unicodes are the ends. For example, in the Korean settings, I specify 6 ranges for the new font. Could you please check that?
Sa'no A'ras  [udvikler] 16. sep. 2023 kl. 7:20 
U+0E00 - U+0E7F Thai 87
Sa'no A'ras  [udvikler] 16. sep. 2023 kl. 7:37 
{
"code": "th-TH",
"dictPath": "\\lang\\th.json",
"fontPath": "\\resources\\THFont-Regular.ttf", <-- It is necessary to specify the path to the Thai font.
"atlasSize": 2048,
"names": [
"th-TH",
"ไทย",
"Thai"
],
"spcUnicode": [
"0E00",
"0E7F"
]
}
DeerKCS 16. sep. 2023 kl. 8:13 
I've tried put unicode and same problem but finally we make mod for thai font fix this "□□□□" to "สวัสดี". thx for @JustALittleMeow. he write new code mod to fix this, now we are doing manual translate it maybe long time because we have only thing is google translate and dictionary that support in this time.
Sa'no A'ras  [udvikler] 16. sep. 2023 kl. 10:01 
Yes, I have the same issue too...
< >
Viser 1-8 af 8 kommentarer
Per side: 1530 50