← 输入框|github.com|刷新
Skip to content

About

Downloadable UI language packs for the LeanType keyboard

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

LeanType Language Packs

Official translated UI language packs repository for LeanType Keyboard.

Packs are resource-only APKs (such as de.apk) containing localized UI strings. They are never installed as standalone applications.

Translations are maintained in the main LeanType repository under app/src/main/res/values-*/strings.xml, not in this repository.

📋 System Requirements

  • Operating System: Android 11 or newer
  • Host Keyboard: LeanType English-only -lite-release.apk builds (Standard or Offline flavor). The regular APKs, including the F-Droid build, already contain all languages and need no pack.

📥 Getting a Language Pack

  • Standard Flavor: Open Settings → Languages & Layouts → App translation in LeanType to download the language pack for your locale.
  • Offline Flavor: Download the matching pack APK from the Releases section of this repository and import it via Settings → Languages & Layouts → App translation.

🔄 Compatibility Across Updates

Each language pack is built for a specific LeanType build and is coupled to that build's exact resource structure. Release tags in this repository follow the format <versionName>-<crc32 of resources.arsc>.

Important

When you update the LeanType app, previously downloaded packs will not match the new build. You must update or re-download the language pack so its release tag matches your updated app build.


🛠️ Maintainer Guide: Building Language Packs

Automated Build Workflow

Language pack releases are generated via GitHub Actions:

  1. When a LeanType release is published, its workflow starts "Build language packs" with the release tag.
  2. To build for a specific release, run it from the Actions tab with the LeanType release tag (e.g. v4.3.7).
  3. The workflow fetches the English-only APKs (standard and offline), builds packs for every locale with tools/build_language_pack.py, and publishes releases tagged by <versionName>-<crc32>.

Local Build Command

To build a pack locally, use the script from the LeanType repository:

python3 tools/build_language_pack.py --apk <app.apk> --locale de --out-dir packs

📜 License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0), matching LeanType.

💖 Support the Development

If you find this project helpful, consider supporting the continuous development of the LeanType ecosystem:

About

Downloadable UI language packs for the LeanType keyboard

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors