mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-13 01:08:25 +07:00
Maybe fixed the 'no languages except Chinese' bug in Android phones, but since I can't check this, I'll stick with both of them. Better safe...
This commit is contained in:
@ -148,7 +148,8 @@ class Ruleset {
|
||||
catch (ex:Exception){} // Iterating on internal files will not work when running from a .jar
|
||||
|
||||
languages.addAll(Locale.getAvailableLocales() // And this should work for Desktop, meaning from a .jar
|
||||
.map { it.displayName })
|
||||
.map { it.getDisplayName(Locale.ENGLISH) }) // Maybe THIS is the problem, that the DISPLAY locale wasn't english
|
||||
// and then languages were displayed according to the player's locale... *sweatdrop*
|
||||
|
||||
// These should probably ve renamed
|
||||
languages.add("Simplified_Chinese")
|
||||
|
Reference in New Issue
Block a user