如何更改Facebook登录页面中的语言? [英] How to change language in Facebook login page?

查看:2021
本文介绍了如何更改Facebook登录页面中的语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Facebook API中,有一个 Hackbook项目演示。

In Facebook API, there is a Hackbook project for a demo.

当我尝试通过这个Hackbook项目登录到Facebook时,登录页面始终不是英文。

When I try to login to facebook via this Hackbook project, the login page is always not in English.

登录页面的URL为 http://m.facebook.com/dialog / oauth?xxxxxxx (它有更多的参数....)

URL of the login page is http://m.facebook.com/dialog/oauth?xxxxxxx (it has more parametors .... )

所以,我在Safari中访问了Facebook网站(www.facebook.com),并更改了语言为英语,但来自Hackbook项目的登录页面中的语言未更改。

so, I visited Facebook site(www.facebook.com) in Safari and changed the language to English, but the language in the login page from Hackbook project is not changed.



如何将其更改为英文?或者在Facebook中有自动语言检测?


How can I change it to English? or is there the auto language detection in Facebook?

任何帮助将不胜感激!

推荐答案

有一个基于safari的自动检测。我试图强制使用 http://m.facebook.com 上的语言添加参数?locale2 = en_EN

There is an autodetection based on safari. I've tried to force the language on http://m.facebook.com adding the parameter "?locale2=en_EN"

所以如果您访问 http: //m.facebook.com/?locale2=en_EN ,Facebook登录将用英语,但如果您更改语言环境,则可以加载任何您想要的语言(例如: http://m.facebook.com/?locale2=es_ES for西班牙语)

So if you access to http://m.facebook.com/?locale2=en_EN, facebook login will be in english, but if you change the locale you can load any language you want (example: http://m.facebook.com/?locale2=es_ES for spanish)

我按下你可以在对话框中使用这个参数,但是我还没有尝试过。

I pressume you can use this parameter in your dialog call, but I didn't tried yet.

祝你好!

这篇关于如何更改Facebook登录页面中的语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆