Localised version breakthrough!... I think.

Quick and easy way to see what recipes your character is missing

Moderators: zeryl, Teta68

Re: Localised version breakthrough!... I think.

Postby wowodo » Sun Sep 10, 2006 4:52 am

Anyone french Can have a good result with this adds for give me the good files modified please ^^
User avatar
wowodo
WR.net Apprentice
WR.net Apprentice
 
Posts: 29
Joined: Fri Jul 07, 2006 6:47 pm

Re: Localised version breakthrough!... I think.

Postby zeryl » Mon Sep 11, 2006 1:01 am

I plan on releasing a localized version as soon as I get a definitive YES or NO on whether changing the url to the Alla localized version works or not.
User avatar
zeryl
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 194
Joined: Tue Jul 04, 2006 12:59 pm
Location: Saint Louis

Localised version breakthrough!... I think.

Postby Averen » Mon Sep 11, 2006 2:28 am

May I make a suggestion? Could one of you DEVs ask the WoWRoster populace for some kind of multilanguage test databases to test addons on. I am having a hard time localising some parts of my addonsa I make due to not being able to test with other languages.
User avatar
Averen
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 152
Joined: Thu Jul 20, 2006 5:18 am

Re: Localised version breakthrough!... I think.

Postby wowodo » Mon Sep 11, 2006 9:45 pm

Sorry but I don't understand all the phrases of your 2 post...
I don't understand how it's different to search in french or in english on the allakazam page? perhaps the accent (éèàêâîëäïùì or '), it's just this character are diffrent enter french and english language !!! So every symbols are the same in this 2 language.

Have your a command to see more details befor the error message, please?

think you for your interest to my pbm.
User avatar
wowodo
WR.net Apprentice
WR.net Apprentice
 
Posts: 29
Joined: Fri Jul 07, 2006 6:47 pm

Re: Localised version breakthrough!... I think.

Postby sturmy » Mon Sep 11, 2006 10:40 pm

There are many ways to encode those accentuated characters.
UTF-8 is ONE method, but HTML sequences is also valid for instance.

The thing here is that so far no one could confirm Alla's page structure enables the same parsing and whether the recipe names can match.

I, for one, was stuck with the curl error...
sturmy
WR.net Expert
WR.net Expert
 
Posts: 160
Joined: Wed Aug 16, 2006 9:07 pm

Re: Localised version breakthrough!... I think.

Postby Remind » Thu Sep 14, 2006 2:25 am

wowodo wrote:Anyone french Can have a good result with this adds for give me the good files modified please ^^


Hello wowodo, I'm french, and I had the same problem than you because my host is yours: free.

This breakthrough is working:
Code: Select all
if (ini_get('allow_url_fopen') == 1)   {      $contents = file_get_contents($url);   }


Although you must localize your addon, else this won't work.

I posted the french version of this addon in this post:
http://www.wowroster.net/Forums/viewtopic/t=1175.html

You can see the result here:
http://undergroundguild.free.fr/wowrost ... dd=Ralamoq
Remind
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Thu Sep 14, 2006 1:25 am

Re: Localised version breakthrough!... I think.

Postby Halin » Fri Oct 06, 2006 4:59 pm

Hi!

I was wondering if there has been any success of getting missing recepies to run with localized version of wowroster. I found this thread and modified the missing.php according to the post above, adding

Code: Select all
'.$roster_conf['roster_lang'];


to every url. Additionally I modified

Code: Select all
$query = "select recipe_name from ".ROSTER_RECIPESTABLE." where member_id = '$id' and skill_name = '$skill';";


to

Code: Select all
$query = "select recipe_name from ".ROSTER_RECIPESTABLE." where member_id = '$id' and skill_name = '".$wordings[$roster_conf['roster_lang']][$skill]."';";


as the tradeskill is saved in the roster db as a localized string. I have have to CURL error with my ISP too, but this can be fixed by commenting the line

Code: Select all
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);


as this option is not needed with allakhazam. But this was mentioned before. Additionaly I increased the timeout to

Code: Select all
curl_setopt($ch, CURLOPT_TIMEOUT, 60);


Now I missingrecipies works for my german wowroster. Best check it with "first aid" as many people who have first aid up to 300 are missing "strong anti-venom" but have every other recipe, thus you should see only "missing recipe".

It does however not work with the specialized leather and blacksmithing tradeskills, so you get a lot "missing recipies".

Halin
Last edited by Halin on Fri Oct 06, 2006 5:00 pm, edited 1 time in total.
Halin
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sat Aug 26, 2006 6:10 pm

Previous

Return to Missing Recipes

Who is online

Users browsing this forum: No registered users and 1 guest

cron