agorapulse / grails-facebook-sdk

Facebook SDK Grails Plugin
http://agorapulse.github.com/grails-facebook-sdk/guide
30 stars 13 forks source link

i18n for Facebook SDK #27

Closed confile closed 11 years ago

confile commented 11 years ago

I am using your plugin. When I use

<facebook:initJS
        appId="${facebookContext.app.id}"
        xfbml="${true}" />

I get:

channelUrl: "http://www.mydomain.com/channel?locale=en_US", // Custom channel URL

How can I customize the locale Variable with your plugin, such that it depends in the request.locale given by the browser?

benorama commented 11 years ago

Check my answer to your other issue: https://github.com/benorama/grails-facebook-sdk/issues/28