WarcraftReamls.com
  FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister 
  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 
Localization issues effecting Latin American realms

 
Post new topic   Reply to topic    WarcraftRealms.com Forum Index -> CensusPlus UI Mod Bugs
View previous topic :: View next topic  
Author Message
sencillez



Joined: 28 Jun 2009
Posts: 4

WR Updates: 13,576
sencillez WR Profile

PostPosted: Sun Jun 28, 2009 11:56 am    Post subject: Localization issues effecting Latin American realms Reply with quote

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.
Back to top
View user's profile Send private message
sencillez



Joined: 28 Jun 2009
Posts: 4

WR Updates: 13,576
sencillez WR Profile

PostPosted: Sun Jun 28, 2009 12:14 pm    Post subject: Reply with quote

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 Smile
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WarcraftRealms.com Forum Index -> CensusPlus UI Mod Bugs All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
WarcraftRealms.com  


Powered by phpBB © 2001, 2005 phpBB Group