bbepis / XUnity.AutoTranslator

MIT License
2.01k stars 293 forks source link

Arabic Translation Problem #579

Open MohammadAboulEla opened 2 months ago

MohammadAboulEla commented 2 months ago

Screenshot 2024-09-10 214125 This is what happen when translating to Arabic, I can confirm that the Arabic translations in txt files are correct, but how can I fix this unicode issue?

ManlyMarco commented 2 months ago

You have to override the game font with one that supports the required characters. Check the readme for font overriding.

MohammadAboulEla commented 2 months ago

I did override the game font and pressed Alt+ F still does not work

MohammadAboulEla commented 2 months ago

any help?

Assia55 commented 4 weeks ago

@MohammadAboulEla L9iti L7al ?

Assia55 commented 4 weeks ago

@MohammadAboulEla did u find any solution

shawkym commented 16 hours ago

@MohammadAboulEla @Assia55 even if you fix the font, the characters won't appear correctly, your strings file needs to be pre-processed to shape letters for unity, like done in the https://github.com/Konash/arabic-support-unity code fix.

Did you also check that the font you loaded have the texture for the characters required ? Font Material can be the reason, if so maybe try and build it from scratch using the unity editor.

At last: Use RuntimeEditor plugin to inspect in game button text type, maybe it's not yet supported by the plugin

Atamg1994 commented 16 hours ago

Game mono ? Or li2cpp?