mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
update readme.md
This commit is contained in:
parent
6c821bfe14
commit
a0c88a2dc6
25
README.md
25
README.md
@ -50,19 +50,22 @@
|
|||||||
|
|
||||||
|
|
||||||
## 翻译
|
## 翻译
|
||||||
```shell
|
* 其他语言的翻译:
|
||||||
sudo apt install gettext
|
```shell
|
||||||
git clone https://github.com/wjz304/arpl-i18n.git
|
sudo apt install gettext
|
||||||
cd arpl-i18n/files/board/arpl/overlayfs/opt/arpl
|
git clone https://github.com/wjz304/arpl-i18n.git
|
||||||
xgettext -L Shell --keyword=TEXT *.sh -o lang/arpl.pot
|
cd arpl-i18n/files/board/arpl/overlayfs/opt/arpl
|
||||||
sed -i 's/charset=CHARSET/charset=UTF-8/' lang/arpl.pot # The above process has been completed.
|
xgettext -L Shell --keyword=TEXT *.sh -o lang/arpl.pot
|
||||||
msginit -i lang/arpl.pot -l zh_CN.UTF-8 -o lang/zh_CN.po # Replace the language you need.
|
sed -i 's/charset=CHARSET/charset=UTF-8/' lang/arpl.pot # The above process has been completed.
|
||||||
# translate the lang/zh_CN.po.
|
msginit -i lang/arpl.pot -l zh_CN.UTF-8 -o lang/zh_CN.po # Replace the language you need.
|
||||||
msgfmt lang/zh_CN.po -o lang/zh_CN.mo # This process will be automatically processed during packaging.
|
# translate the lang/zh_CN.po.
|
||||||
```
|
msgfmt lang/zh_CN.po -o lang/zh_CN.mo # This process will be automatically processed during packaging.
|
||||||
|
```
|
||||||
|
|
||||||
## 打赏一下
|
## 打赏一下
|
||||||
<img src="https://raw.githubusercontent.com/wjz304/wjz304/master/my/20220908134226.jpg" width="400">
|
* > ### 作者: Ing QQ群: 21609194 QQ频道: 0pg8m22666
|
||||||
|
|
||||||
|
* <img src="https://raw.githubusercontent.com/wjz304/wjz304/master/my/20220908134226.jpg" width="400">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user