/arpl-i18n

Automated Redpill Loader(i18n)

Primary LanguageShellGNU General Public License v3.0GPL-3.0

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

打赏一下