Перевод typecho на русский язык

Здравствуйте, я перевожу typecho на русский язык.
Не получается переключить его на другой язык, как переключаться между языками?

Hello, I am translating typecho into Russian.
It is impossible to switch it to another language, how to switch between languages?

你好,我是翻译typecho成俄文。
这是不可能将其切换到另一种语言,如何种语言之间切换?

阅读 4.8k
1 个回答

Yes, just follow these steps

  1. Check out the latest source code from https://github.com/typecho/typecho
  2. Find the pot file in ./usr/langs/messages.pot, and open it by Poedit or other software.
  3. Finish your translation and save it as ru_RU.po. A file names ru_RU.mo will be generated automatically.
  4. Go to your typecho general settings page (http://your-typecho-site/admin/options-general.php), and you will find the "language option" before "timezone option".lang-option

Note

There is a special word lang in translation list, just translate it to your language name. For example русский.

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进