Topic-icon importing language information

Active Subscriptions:

None
12 years 3 months ago #41718 by andbal2
hi, as before, also in the last jfbconnect version sclogin imports profile information in english; the solution you posted here posted here www.sourcecoast.com/forums/jfbconnect/jf...munity-builder-field not works because i think you moved the code. please could you tell me how to fix? another question please, do you know if fixed bug about address information? For example in my profile i have "Roma" (in italian) as city but it imports "Rome" (in english). tx
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #41918 by andbal2
hi sorry, news about this?
The topic has been locked.
Support Specialist
12 years 3 months ago #41937 by alzander
Sorry for not getting back to you sooner. The file name for the edit changed, but the edit itself is just about the same. Please edit the /components/com_jfbconnect/libraries/profile/facebook.php file. Around line 195, you'll see:
$params = array( 
                'method' => 'fql.query', 
                'query' => $fql, 
            );
Update that like in the other post to:
$params = array( 
   'method' => 'fql.query', 
   'query' => $fql, 
   'locale' => 'it_IT', 
);

another question please, do you know if fixed bug about address information? For example in my profile i have "Roma" (in italian) as city but it imports "Rome" (in english). tx

I'm not sure how to get around this. This seems to be what Facebook returns, and other than setting the locale as above, I don't know of any way to tell them to return the 'original' or a translated value. I've looked for documentation on this, but I've not found anything that describes how to get that information in the language like you're asking.

I hope that helps,
Alex
The topic has been locked.