From a0c88a2dc651546490b7343c4425d0fc723fe4e0 Mon Sep 17 00:00:00 2001 From: Ing Date: Mon, 17 Apr 2023 03:25:29 +0800 Subject: [PATCH] update readme.md --- README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 05fa8849..eb1d46f3 100644 --- a/README.md +++ b/README.md @@ -50,19 +50,22 @@ ## 翻译 -```shell -sudo apt install gettext -git clone https://github.com/wjz304/arpl-i18n.git -cd arpl-i18n/files/board/arpl/overlayfs/opt/arpl -xgettext -L Shell --keyword=TEXT *.sh -o lang/arpl.pot -sed -i 's/charset=CHARSET/charset=UTF-8/' lang/arpl.pot # The above process has been completed. -msginit -i lang/arpl.pot -l zh_CN.UTF-8 -o lang/zh_CN.po # Replace the language you need. -# translate the lang/zh_CN.po. -msgfmt lang/zh_CN.po -o lang/zh_CN.mo # This process will be automatically processed during packaging. -``` +* 其他语言的翻译: + ```shell + sudo apt install gettext + git clone https://github.com/wjz304/arpl-i18n.git + cd arpl-i18n/files/board/arpl/overlayfs/opt/arpl + xgettext -L Shell --keyword=TEXT *.sh -o lang/arpl.pot + sed -i 's/charset=CHARSET/charset=UTF-8/' lang/arpl.pot # The above process has been completed. + msginit -i lang/arpl.pot -l zh_CN.UTF-8 -o lang/zh_CN.po # Replace the language you need. + # translate the lang/zh_CN.po. + msgfmt lang/zh_CN.po -o lang/zh_CN.mo # This process will be automatically processed during packaging. + ``` ## 打赏一下 - +* > ### 作者: Ing QQ群: 21609194 QQ频道: 0pg8m22666 + +*