SSSSoiphon / arpl-i18n

Automated Redpill Loader(i18n)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automated Redpill Loader (i18n)

本库为 arpl i18n (多语言优化版):

原版:

https://github.com/fbelavenuto/arpl

汉化:

https://github.com/wjz304/arpl-zh_CN

  • 仅同步汉化原版, 所以功能与原版保持一致.

i18n:

https://github.com/wjz304/arpl-i18n

  • 多语言支持.
  • 6.2&7.2支持.
  • other.

说明 - Instructions

翻译 - Translation

  • 其他语言的翻译 - Language translation work:
    # If it does not involve adding or deleting, the following process is not required.
    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
    # You need to replace the language you need and translate the po file.
    msginit -i lang/arpl.pot -l zh_CN.UTF-8 -o lang/zh_CN.po
    # This process will be automatically processed during packaging.
    msgfmt lang/zh_CN.po -o lang/zh_CN.mo

教程 - Usage

打赏一下

About

Automated Redpill Loader(i18n)

License:GNU General Public License v3.0


Languages

Language:Shell 83.1%Language:C 9.7%Language:Python 7.0%Language:Makefile 0.1%Language:HTML 0.1%