GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LeanBitLab/Leantype-Translation-Plugin: Google translate for Leantype

BranchesTags
Open more actions menu

Latest commit

 

History

47 Commits
47 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

LeanType Translation Plugin

A high-performance dynamic plugin for the LeanType Keyboard enabling real-time On-Device Offline ML Kit Translation.


✨ Features

  • 🛡️ On-Device Offline Translation (ML Kit): Zero-network on-device neural translation using lightweight (~30 MB) language models.
  • 📦 On-Demand Model Management: Download, manage, and delete 59+ language models directly from LeanType settings.
  • 🔄 Universal Compatibility: Fully supported across all 4 LeanType flavors (Standard, Standard Full, Offline, and Offline Lite).
  • 🔌 Dynamic Isolated Loading: Loaded dynamically via PluginClassLoader with isolated native libraries and zero runtime footprint when inactive.

Note

Do not install this APK directly into Android OS as a standard app. It is a dynamic plugin library loaded internally by LeanType.


📋 System Requirements

  • Operating System: Android 6.0 (API 23) or higher
  • Supported CPU Architectures: arm64-v8a, armeabi-v7a, x86, x86_64
  • Host Keyboard: LeanType v4.1.4+ (All flavors)

🛠️ How It Works

LeanType loads this plugin dynamically at runtime when translation is invoked. The plugin adheres to LeanType Translation Interface v2, providing synchronous and asynchronous translation bridges, model availability checks, and lifecycle management.


📥 Installation & Setup

Option 1: In-App Downloader (Online Flavors)

  1. In LeanType, open Settings → Translation (or Settings → Plugins).
  2. Tap Download Plugin to automatically fetch and verify the latest release APK.
  3. Tap Offline Translation Models to download desired on-device language packs.

Option 2: Manual Loading (Offline & Offline Lite Flavors)

  1. Download translation_plugin.apk from the Latest Releases.
  2. In LeanType, open Settings → Translation (or Settings → Plugins).
  3. Tap Load translation plugin and select the .apk file.
  4. Tap Offline Translation Models to download language models via browser or import models.

🏗️ Building From Source

Build the signed release APK with Gradle:

./gradlew :app:assembleRelease

The output APK will be generated at:

app/build/outputs/apk/release/translation_plugin.apk

📄 License

Licensed under the GNU General Public License v3.0.

About

Google translate for Leantype

Topics

google-translateleanbitlableantype

Resources

Readme
GPL-3.0 license
Activity

Stars

16 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.