Home
Sign Up
Sign In
V2EX
›
PHP
如何简便的在网页中检测浏览器语言然后呈现相应的语言页面?
bobopu
·
Dec 24, 2014
· 2410 views
This topic created in 4170 days ago, the information mentioned may be changed or developed.
最简单的可能就是直接嵌入谷歌翻译,但这个会导致网页加载变慢。那个还有什么办法能快速简便的识别并呈现不同语言版本的页面呢?
简便
页面
网页
2 replies
•
2014-12-24 13:51:35 +08:00
1
Actrace
Dec 24, 2014
UA里面有浏览器语言。
2
bobopu
OP
Dec 24, 2014
@
Actrace
已通过javascript设置,谢谢。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
997 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 22:28
·
PVG 06:28
·
LAX 15:28
·
JFK 18:28
♥ Do have faith in what you're doing.
❯