Setup multi languages wordpress(设置多语言 wordpress)
问题描述
我需要使用 wordpress 引擎设置博客,但我需要它支持多语言(3 种语言),目前我正在考虑使用自定义字段来识别当前帖子的语言,尽管我知道这不是最佳实践,有没有人有更好的建议吗?
I need to setup a blog using wordpress engine but i need it support multi languages (3 languages), currently i am thinking of using custom field to identify the language of current post though i knew thats not a best practices, does anyone has better suggestions?
推荐答案
我已经测试了 2 个看起来非常有前途的插件:qTranslate 和 Gengo
I've tested 2 plugins that both looked very promising: qTranslate and Gengo
qTranslate 的工作原理是为每个帖子添加所有使用语言的输入,Gengo 使用单独的帖子并以帖子 Y 是帖子 X 的翻译"方式链接它们,我更喜欢这种方式(因为它允许我不翻译所有内容) 对我来说效果很好.
qTranslate works by adding inputs for all used languages for each post, Gengo used separate posts and links them in a "post Y is a translation of post X" way, which I preferred much (because it allowed me to not translate everything) and it worked fine for me.
这篇关于设置多语言 wordpress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:设置多语言 wordpress


基础教程推荐
- 在 CakePHP 2.0 中使用 Html Helper 时未定义的变量 2021-01-01
- 如何在 Symfony 和 Doctrine 中实现多对多和一对多? 2022-01-01
- 找不到类“AppHttpControllersDB",我也无法使用新模型 2022-01-01
- PHP 守护进程/worker 环境 2022-01-01
- 在 yii2 中迁移时出现异常“找不到驱动程序" 2022-01-01
- phpmyadmin 错误“#1062 - 密钥 1 的重复条目‘1’" 2022-01-01
- HTTP 与 FTP 上传 2021-01-01
- 如何在 XAMPP 上启用 mysqli? 2021-01-01
- 使用 PDO 转义列名 2021-01-01
- Doctrine 2 - 在多对多关系中记录更改 2022-01-01