Skip to content

asrarannur/XPTranslateText

 
 

Repository files navigation

Xposed Translate Text

Auto-translate app text using Local Cache first, then Gemini API, with fallback to Free Google API

📥 Download

Download the Latest APK

Select the latest successful workflow run and download the APK from the Artifacts section.

📦 Installation & Setup

Requirements

  • LSPosed or another Xposed Framework variant must be installed and enabled.

Installation Steps

  1. Install the downloaded APK from the link above.
  2. Open the LSPosed Manager app, navigate to Modules, and enable XPTranslateText.
  3. Select the apps you want to translate from the module settings in LSPosed.
  4. Kill your app and restart it.

After restart, the selected apps should display translated text automatically.

Translation Priority

  1. Local Translation Cache: Speeds up translation by caching previously translated texts locally.
  2. Gemini API (gemini-2.0-flash-lite): Uses Google's Gemini API for translations first, with a fallback to the Free Google API when needed.
  3. Free Google API

Compatibility

  • Tested and confirmed working on:
    • Android 13 with LSPosed
    • Android 15 with LSPosed

🖼️ Before & After Comparison

Before After

📁 Project Structure

XPTranslateText/
├── app/
│   ├── key.jks              # Generated by GitHub Actions
│   └── build.gradle
├── gradlew
├── gradlew.bat
├── keystore.properties      # Local-only, not committed
└── settings.gradle

About

xposed module translate text by gemini2.0 and google api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%