Skip to content

Translation ​

After recognition (and optional AI polishing) finishes, BiBi Keyboard can translate the final text into a target language before inserting it — useful for cross-language input.

Overview ​

Translation is part of the text-processing stage; the keyboard, floating ball, external calls, and system speech recognition share the same text-processing flow:

  • When translation fails, that result is not inserted; the status bar shows "Translation failed" and the history entry is marked as failed.
  • The AI edit panel and history re-polish do not go through translation, so existing text is never translated twice.

Enabling and configuring ​

Path: Settings → Smart → Translation Settings.

  1. Turn on "Enable translation"
  2. Choose an offline or online service under "Service"
  3. Pick the "Input language" and "Target language"; the swap button in the middle exchanges them
  4. Tap "Test translation" to verify the service and language packs

Offline translation (Foxlet) ​

Foxlet translates on-device and never uploads your text, but the language packs for each direction must be downloaded first.

  • Device requirements: Android 9 or later and a 64-bit ARM device. The settings page warns when the device is unsupported.
  • Language packs: packs are downloaded per direction; the settings page shows which packs are missing, then "Language packs ready" when complete.
  • English pivot: when a direction has no direct model, translation goes through English, e.g. Japanese → Chinese uses the Japanese → English and English → Chinese packs.
  • Input language: "Auto-detect" is not available offline; pick the input language explicitly.
  • Manage language packs: view and delete downloaded packs; one pack may be shared by several directions.
  • Preload models: when enabled, models load as recording starts instead of when translation begins.
  • Model unload policy: unload right after translation, keep for 5 / 15 / 30 minutes, or keep loaded.

Online translation ​

Online services need no API key, but the pre-translation text is sent to the selected provider:

ServiceNotes
Microsoft Edge TranslateMicrosoft Translator endpoint, no key required
Tencent TransmartTencent translation endpoint
Volcengine TranslateVolcengine translation endpoint
Bilibili Index-TranslateBilibili translation endpoint
Google TranslateGoogle Translate endpoint

All online services support "Auto-detect" as the input language, which helps when the spoken language is mixed or uncertain.

Privacy

Online translation sends the recognized text to the selected provider. Use Foxlet offline translation for sensitive content.

Keyboard shortcuts ​

  • Translation toggle (extension button): the same switch as "Enable translation" in settings. Add it to the keyboard to toggle quickly; when on, the icon is highlighted and a toast confirms "Translation enabled".
  • "Translate" key in the Recording layout: enables translation for the current recording only. The inserted text is the translation; the next recording follows the setting again. Add it in the "Recording" panel of Settings → Input → UI Settings → Keyboard UI → Custom keyboard layout.
  • Undo translation: after inserting, the status bar offers "Undo translation" to restore the untranslated recognition text.

Configuration ​

OptionDefaultDescription
Enable translationOffMaster switch for all voice input paths
ServiceFoxlet offline translationFoxlet offline or an online translation service
Input languageSimplified ChineseRequired offline; "Auto-detect" is available online
Target languageEnglishLanguage of the translated text
Preload modelsOffFoxlet only; preload models when recording starts
Model unload policy5 minutesFoxlet only; how long models stay loaded after translation

FAQ ​

The translation was not inserted ​

  • Check whether the status bar shows "Translation failed". A failed translation submits nothing; run "Test translation" first to verify the service and packs.
  • Offline translation needs every pack for the current direction. The settings page lists the missing packs and their size.

Offline translation is reported as unsupported ​

Foxlet requires Android 9 or later and a 64-bit ARM device. Switch to any online service otherwise.

Released under the Apache 2.0 License.