Godot: Internationalization issue, zh_CN is loaded instead of zh_HK, and reciprocally

Created on 27 Feb 2019  路  8Comments  路  Source: godotengine/godot

Godot version:
Godot 3.1 beta8

OS/device including version:
Windows 7 x64
Windows 10 x64

Issue description:
I have a text.csv with three language en, zh_CN, zh_HK

when i use TranslationServer.set_locale("zh_CN") godot display the zh_HK's text

then i use TranslationServer.set_locale("zh_HK") godot display the zh_CN's text

finally i use TranslationServer.set_locale("en") godot display the correct en's text

the three en.translation, zh_CN.translation, zh_HK.translation file is correct and the text.csv is correct.

Steps to reproduce:

Minimal reproduction project:

bug core

Most helpful comment

a small international demo project is here:

transDemo.zip

All 8 comments

Could you provide a small project that reproduces the bug?

a small international demo project is here:

transDemo.zip

zh_CN change to zh the error is same.

@akien-mga Why not fix it in milestones 3.1 ???

Because we're running out of time, and the bug already exists in 3.0 too, so it's not a recent regression.

It might still be fixed shortly after 3.1 and backported to a 3.1.x release.

OK, Thanks

OK, Thanks

Should be fixed by #31198, sorry for the delay.

Was this page helpful?
0 / 5 - 0 ratings