dongliugu8843 2011-08-16 07:48
浏览 110

Facebook登录屏幕在不同的区域设置

I have a php application which uses facebook php sdk to integrate Facebook login within the app. I have 5 versions of the app with 5 language settings, but the problem is the facebook Login popup page always opens in English and pop-up opening handler is part of SDK itself, I cant figure out which configuration would lead to the solution.

Earlier, I had managed to show the "Log in to Facebook" button in 5 different languages by including 5 different Javascripts. But I could not find any solution opening the Login Screen in various Languages... Please help

  • 写回答

1条回答 默认 最新

  • dtol41388 2011-08-16 08:09
    关注

    I recommend to use Javascript SDK for login. In Javascript SDK you can load different SDK's which have different locales. Just look at this url: connect.facebook.net/en_US/all.js

    Change en_US to any locale. So login screen will be localized as you wish.

    Update: It seems that facebook later decided to change this behaviour. According to internationalization document and this blog applications cannot control facebook's locale. Only thing you can do is checking user's locale and adapting your application's locale to Facebook's.

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题