Closed luzeas closed 5 years ago
The language localization file for advancments and tips is located under \resources\sevtechages\lang I would guess that to translate it you could just copy one of those and start working out from that. The name of the file would then be " zh_CH " I'm guessing (just running of from https://wpastra.com/docs/complete-list-wordpress-locale-codes/ "
Take a copy of this file: https://github.com/DarkPacks/SevTech-Ages/blob/master/src/resources/sevtechages/lang/en_us.lang (or if you understand French or Russian better, use that as a starting point!)
Rename it as @Streamcyper described above, though keep it lower case.
For each line, leave everything on the left of the equals sign as it is. Replace everything on the right with your translation.
When you're done, and if you're happy to share what you've done for inclusion in the pack, it would be great if you could open a pull request.
Emmm,all of the Chinese is unreadable code. Changing to utf8 and Unicode doesn't help either. What went wrong?
This is translated,But the text in the game is garbled Transcoding is fine
Would you mind uploading a copy of the file you're working on here and I'll take a look at it. As there is a Russian translation using the Cyrillic alphabet it seems the mod is capable of displaying unicode characters and so hopefully this is just an issue with encoding.
This is the file being translated https://github.com/luzeas/minecraft
It does seem to be an encoding issue, file downloaded from your repo is ISO-8859-1 but displayed as though it is UTF-8
When converted to UTF-8 it works in Minecraft.
=。= Emmmm,What operating system do you use?Windows?Linux? The file will change from UTF-8 to ANSI when star game every time.
Here is a correctly encoded version of your file, download it and work from that. Works on Windows and Linux.
I have found the reason. Resource loader will force a change to the language file encoding,consequently , Chinese characters are unreadable code.Have you fixed it? Hopefully a new version will be released soon and fix this issue
Someone has offered a Chinese Localisation for SkyFactory 4, you may be able to follow their example or ask how they've generated their lang file to aid in your translation of SevTech?
使用unicode是可行的,但是需要切换一下minecraft的语言 It's possible to use unicode, but you need toSwitch the language of minecraft.
How should the latest version be translated into Chinese? Where are the titles and descriptions of the achievement? I don't know where to start. Would you please tell me where the translated documents are? thanks.