Здравствуйте, я перевожу typecho на русский язык.
Не получается переключить его на другой язык, как переключаться между языками?
Hello, I am translating typecho into Russian.
It is impossible to switch it to another language, how to switch between languages?
你好,我是翻译typecho成俄文。
这是不可能将其切换到另一种语言,如何种语言之间切换?
Yes, just follow these steps
- Check out the latest source code from https://github.com/typecho/typecho
- Find the pot file in
./usr/langs/messages.pot
, and open it by Poedit or other software. - Finish your translation and save it as
ru_RU.po
. A file namesru_RU.mo
will be generated automatically. - 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".
Note
There is a special word lang
in translation list, just translate it to your language name. For example русский
.