Craftopia

Craftopia

Additional Languages for Craftopia
DeerKCS Aug 30, 2023 @ 9:13pm
Thai Translation
can you make thai language or create file thai translator? thank you
< >
Showing 1-8 of 8 comments
Sabotember  [developer] Aug 31, 2023 @ 12:01am 
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 Aug 31, 2023 @ 12:19am 
i agree to help you translate for Thai language. thank you
DarknessNeko Sep 11, 2023 @ 9:39am 
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)
Last edited by DarknessNeko; Sep 16, 2023 @ 7:07pm
Sabotember  [developer] Sep 15, 2023 @ 8:16pm 
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  [developer] Sep 16, 2023 @ 7:20am 
U+0E00 - U+0E7F Thai 87
Sa'no A'ras  [developer] Sep 16, 2023 @ 7:37am 
{
"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 Sep 16, 2023 @ 8:13am 
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  [developer] Sep 16, 2023 @ 10:01am 
Yes, I have the same issue too...
< >
Showing 1-8 of 8 comments
Per page: 1530 50