views:

100

answers:

1

I am working on an Android game.. I live in Taiwan but i want to make an English game, i have some problem when using facebook login Dialog is always loaded in Chinese. Is there any way i can change it to English which is the same with the device's language?

Thanks,

Eve

A: 

Change the localization string in Facebook when you make the API calls:

Internationalization Facebook Connect features are available many locales. You can replace the en_US locale specifed above with one of the supported Facebook Locales. For example, to load up the library and trigger dialogs, popups and plugins to be in Hindi (hi_IN), you can load the library from this URL:

http://connect.facebook.net/hi_IN/all.js

So in the Android SDK change any calls to facebook to have the en_US Internationalization tag

If you want to match it to the phone's language then you will need to change the SDK to make a call to the Android system settings and replace the tag appropriately - http://developer.android.com/guide/topics/resources/localization.htmlt

BeRecursive
It appears as though there is no current support for localization and the graph api that I can find. The method I outlines only works if you redirect the user via the normal facebook login procedure
BeRecursive
thank for your info, really appreciate it..