Localization issues effecting Latin American realms

Found a bug with the CensusPlus UI Mod? Post it here!
Post Reply
sencillez
Posts: 4
Joined: Sun Jun 28, 2009 11:49 am

Localization issues effecting Latin American realms

Post by sencillez »

There is no esMX localization, which breaks the scan (at line 2087 its a nul value). In the localization.lua file I copied the whole esleif block for esES and pasted it as esMX and that worked.

This may be why there are low numbers from a mid/high pop server like Ragnoros.

Also noticed that in esES there is no language for the scan progress.. I added these lines to suit me:
CENSUSPlus_SCAN_PROGRESS = "Progreso de ojear: %d consultados en la cola - %s";
CENSUSPlus_SCAN_PROGRESS_0 = "No hay ninguna ojear en progreso";

But spanish is not my first language.

sencillez
Posts: 4
Joined: Sun Jun 28, 2009 11:49 am

Post by sencillez »

uuuf.. almost a nice, simple fix!

it works now for a complete scan but no data ends up in the saved variables file.. I'm trying to figure out why

current status:

some more translations fixed :)
CENSUSPlus_HORDE = "Horda";
CENSUSPlus_ALLIANCE = "Allianza";

Looks like the issue is here in the main lua file (line 1800):
--
-- Have a new way to detect locale, yay!
--

Change the enUS if statement to:
if( CensusPlus_Database["Info"]["ClientLocale"] == "enUS" or
CensusPlus_Database["Info"]["ClientLocale"] == "esMX") then

That make sense since I just added the esMX locale myself, and all the locales are hand-coded in here. I don't know if wow-europe offers esMX or just esES, but I think this is safe.

Post Reply