instance keys with different client locale problem

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

instance keys with different client locale problem

Postby Striper » Sun Jul 09, 2006 3:26 am

Ola,

everything could be fine, but one player from my guild is using a enUS locale /and not deDE like all the others and the roster itself)... and this is messing up the instance keys display...

[deleted my former suggestions to make it easier to read]
Last edited by Striper on Thu Jul 13, 2006 1:45 pm, edited 2 times in total.
User avatar
Striper
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Tue Jul 04, 2006 7:06 pm
Location: Germany

instance keys with different client locale problem

Postby Mathos » Sun Jul 09, 2006 3:17 pm

Post a link and tell us what the exact problem is you see.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: instance keys with different client locale problem

Postby Striper » Sun Jul 09, 2006 4:12 pm

Mathos wrote:Post a link and tell us what the exact problem is you see.


hmmm... you either didn't understand my post, or you plain didn't read it...

link is http://www.metagilde.de/LA_roster/indexinst.php but that's already including the changes i mentioned in my first post, if you want me to go back to the old code just say so :)
User avatar
Striper
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Tue Jul 04, 2006 7:06 pm
Location: Germany

instance keys with different client locale problem

Postby Striper » Wed Jul 12, 2006 11:45 am

hmmm... noone with a hint on where to look at?
User avatar
Striper
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Tue Jul 04, 2006 7:06 pm
Location: Germany

instance keys with different client locale problem

Postby Striper » Thu Jul 13, 2006 12:15 pm

just to bump it up again, i changed it back to the original file, if someone would care to have a look at http://www.metagilde.de/LA_roster/indexinst.php and tell me what the problem is? I already made some tests in the code, but bad enough the code is not really documented :(

the error comes from the 'where ()' clause... trying to check the sql statements later again. But probably other people already fixed it...

Cheers!
User avatar
Striper
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Tue Jul 04, 2006 7:06 pm
Location: Germany

Re: instance keys with different client locale problem

Postby Berti » Thu Jul 13, 2006 12:45 pm

Ich schreibs mal auf deutsch ...
Ja, bei mir gibt es auch Probleme wenn ich englische und deutsche Clients hochladen lasse. Das bezieht sich dann aber nicht nur auf die Schlüssel, sondern auch auf die Rezeptsuche.
Such doch mal bei dir unter Rezeptsuche ein Kochrezept. Sobald ein englischer Client hochgeladen hat werden nur noch die englischen Rezepte angezeigt, auch wenn es noch zusätzliche deutsche gibt (also Rezepte die der englische Client nicht hat)

Leider ist die Multilangualität des Rosters mangelhaft und ich habe allen Leuten mit englischem Client verboten hochzuladen. Ich habe auch keine Lust mehr hier auf englisch nachzufragen, da mein englisch nicht so gut ist um präzise die Fehler zu beschreiben.

Es wäre schön wenn es hier eine deutsches Supportforum gäbe...

CU Berti
Berti
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Jul 10, 2006 1:26 pm

instance keys with different client locale problem

Postby Striper » Thu Jul 13, 2006 1:37 pm

FIXED!

the problem is in this statement:

Code: Select all
$items $inst_keys[$row['clientLocale']][$faction]; 


which doesn't take into credit that there is no entry for $instkeys['enUS']['Allianz']; as the english name of the faction is Alliance...

just add the following code snippet to localisation/deDE.php
Code: Select all
$inst_keys['enUS']['Allianz'] = array(
                
'SG' => array('Quests','SG' => 'Key to Searing Gorge|4826','The Horn of the Beast|','Proof of Deed|','At Last!|'),
                
'Gnome' => array('Key-Only','Gnome' => 'Workshop Key|2288'),
                
'SM' => array('Key-Only','SM' => 'The Scarlet Key|4445'),
                
'ZF' => array('Parts','ZF' => 'Mallet of Zul\\\'Farrak|5695','Sacred Mallet|8250'),
                
'Mauro' => array('Parts''Mauro' => 'Scepter of Celebras|19710','Celebrian Rod|19549','Celebrian Diamond|19545'),
                
'BRDp' => array('Key-Only','BRDp' => 'Prison Cell Key|15545'),
                
'BRDs' => array('Parts','BRDs' => 'Shadowforge Key|2966','Ironfel|9673'),
                
'DM' => array('Key-Only','DM' => 'Crescent Key|35607'),
                
'Scholo' => array('Quests','Scholo' => 'Skeleton Key|16854','Scholomance|','Skeletal Fragments|','Mold Rhymes With...|','Fire Plume Forged|','Araj\\\'s Scarab|','The Key to Scholomance|'),
                
'Strath' => array('Key-Only','Strath' => 'Key to the City|13146'),
                
'UBRS' => array('Parts','UBRS' => 'Seal of Ascension|17057','Unadorned Seal of Ascension|5370','Gemstone of Spirestone|5379','Gemstone of Smolderthorn|16095','Gemstone of Bloodaxe|21777','Unforged Seal of Ascension|24554||MS','Forged Seal of Ascension|19463||MS'),
                
'Onyxia' => array('Quests','Onyxia' => 'Drakefire Amulet|4829','Dragonkin Menace|','The True Masters|','Marshal Windsor|','Abandoned Hope|','A Crumpled Up Note|','A Shred of Hope|','Jail Break!|','Stormwind Rendezvous|','The Great Masquerade|','The Dragon\\\'s Eye|','Drakefire Amulet|')
        ); 


and you're done!
User avatar
Striper
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Tue Jul 04, 2006 7:06 pm
Location: Germany

Re: instance keys with different client locale problem

Postby Striper » Thu Jul 13, 2006 1:43 pm

Berti wrote:Ich schreibs mal auf deutsch ...
Leider ist die Multilangualität des Rosters mangelhaft und ich habe allen Leuten mit englischem Client verboten hochzuladen. Ich habe auch keine Lust mehr hier auf englisch nachzufragen, da mein englisch nicht so gut ist um präzise die Fehler zu beschreiben.

Es wäre schön wenn es hier eine deutsches Supportforum gäbe...

CU Berti

he more or less complains about the bad localisation of the roster, but in that specific case he's wrong, as he's talking about a bad localisation of an addon (recipes) which is behaving really badly when different client locales are used...

but that's something for the addon support forum
User avatar
Striper
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Tue Jul 04, 2006 7:06 pm
Location: Germany

Re: instance keys with different client locale problem

Postby Litidian » Wed Jul 19, 2006 12:24 pm

Striper wrote:FIXED!


Actually NOT fixed.

I entered the locale information for the instance keys in the localization file, but I got another error (okay, the keys are listed...):

http://www.csi-darnassus.de/roster/indexinst.php

What about this php warning about an error in the locale array?
Litidian
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Tue Jul 11, 2006 6:25 pm

instance keys with different client locale problem

Postby Striper » Wed Jul 19, 2006 1:00 pm

i cannot reproduce that error:

http://www.metagilde.de/LA_roster/indexinst.php

PMing you, posting solution here later!
User avatar
Striper
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Tue Jul 04, 2006 7:06 pm
Location: Germany


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron