bekvon / Residence

Residence Bukkit Plugin
GNU General Public License v3.0
105 stars 175 forks source link

Fail loading language file #131

Closed jfernandz closed 7 years ago

jfernandz commented 7 years ago

I've tried to load Spanish.yml language file but I get

[Residence] Failed to load language file: Spanish.yml setting to default - English

message in server startup/residence config loading, how can I debug that? Maybe Spanish.yml is outdated?

Thank you so much.

jfernandz commented 7 years ago

For a strange reason I was not downloading properly the file (I was downloading even html code) using wget, now the file loads but I've got issues with my locale,

>res listall
[13:57:19 INFO]: Missing locale for Language.InformationPage.Page
[13:57:19 INFO]: Missing locale for Language.Residence.ResList Missing locale for Language.General.Owner (Missing locale for Language.General.CoordsTop; Missing locale for Language.General.CoordsBottom) Missing locale for Language.General.CreatedOn
[13:57:19 INFO]: Missing locale for Language.Residence.ResList Missing locale for Language.General.Owner (Missing locale for Language.General.CoordsTop; Missing locale for Language.General.CoordsBottom) Missing locale for Language.General.CreatedOn
[13:57:19 INFO]: Missing locale for Language.Residence.ResList Missing locale for Language.General.Owner (Missing locale for Language.General.CoordsTop; Missing locale for Language.General.CoordsBottom) Missing locale for Language.General.CreatedOn
[13:57:19 INFO]: Missing locale for Language.Residence.ResList Missing locale for Language.General.Owner (Missing locale for Language.General.CoordsTop; Missing locale for Language.General.CoordsBottom) Missing locale for Language.General.CreatedOn
[13:57:19 INFO]: Missing locale for Language.Residence.ResList Missing locale for Language.General.Owner (Missing locale for Language.General.CoordsTop; Missing locale for Language.General.CoordsBottom) Missing locale for Language.General.CreatedOn
[13:57:19 INFO]: Missing locale for Language.Residence.ResList Missing locale for Language.General.Owner (Missing locale for Language.General.CoordsTop; Missing locale for Language.General.CoordsBottom) Missing locale for Language.General.CreatedOn
[13:57:19 INFO]: Missing locale for Language.Residence.ResList Missing locale for Language.General.Owner (Missing locale for Language.General.CoordsTop; Missing locale for Language.General.CoordsBottom) Missing locale for Language.General.CreatedOn

Maybe is a Spigot issue, how could I setup Spigot? Right now the locale is en_US as you can see:

[13:55:35] [Server thread/INFO]: Using locale en_US

thank you so much.

jfernandz commented 7 years ago

I've been talking with people in #Spigot irc channel and they said me locale should be the same that OS but that's not happening, that's my locale setup

LANG=es_ES.UTF-8
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=