ServerSync

ServerSync

48.5k Downloads

[1.15.2]exe program, no Chinese translation

EnterFor opened this issue · 17 comments

commented

Serversync Version:

3.4.0

Minecraft Version:

1.15.2

Issue:

no Chinese translation..
Must I switch to the jar version?
I think the exe version of the icon looks better..

commented

The exe version is basically just a zip file with the java files inside it, it should be identical.

You can even open the file with 7zip (or other zip programs) and have a poke around in the files if you like 👍, translations end up in the assets folder.

There is probably some kind of issue with the build when it copies the files into the package.

commented

Apologies, github decided to auto close this.

Though the latest merge should indeed fix the issue, looks like ServerSync was never loading resource bundles properly.

commented
commented

image
Ummmmm....Seems to be worse.

commented

image
Yes, I found it, but it doesn't show Chinese when I run it.
Does this have anything to do with me changing the exe program file name?Or is it a BUG?

commented

Changing the name of the file should be fine.

Does it have some translation or none at all? There are several strings that have not been hooked into the resource bundle yet.

commented

None at all.
It only shows English
image
image
The Chinese shown in the figure is that I annotated the Mod so that I could better view it

image

commented

Could you send me the client logs please.

I get the feeling that the client is failing to match your locale string to the resource bundle.

commented

serversync-client.log
Is this it?

Addendum: I asked several server players, and when they updated, they also showed English

commented

If there is no way, it doesn't matter~~~~~~~~Not affecting use,Thank you for your hard work

commented

The issue is that by default in java 7 & 8 resource bundles are encoded in ISO.

I should be able to work around this and get the bundle as utf-8.

commented

Give this one a try https://github.com/superzanti/ServerSync/actions/runs/72674632

I have just converted the file to use unicode escapes for now, shall work on a better solution later.

commented

image
Nice!!!!!!!!!!!!!!!!!!!!!

commented

👍, just need to actually hook up the various strings in the app to the resource bundles now.

commented

Wait a minute, I found multiple extra strings, I think I can supplement the translation.
#182

commented

😢 Bummer, probably need to play with the encoding.

commented

Sorry, I found a flaw in the translation. It has been resubmitted.

If there are no other questions, this question can be closed. Thanks again for your patience. I seem to be a bit wordy..xD.