Skip to content

Add inline on-device note translation#1094

Open
ewbd09-svg wants to merge 3 commits into
PrimalHQ:mainfrom
ewbd09-svg:feat/inline-system-note-translation-1055-lb
Open

Add inline on-device note translation#1094
ewbd09-svg wants to merge 3 commits into
PrimalHQ:mainfrom
ewbd09-svg:feat/inline-system-note-translation-1055-lb

Conversation

@ewbd09-svg

Copy link
Copy Markdown

Closes #1055

Supersedes #1093 after completing the required Lightning Bounties GitHub account authorization.

Summary

  • add inline note translation through Android's on-device translation framework
  • detect the source language locally and translate to the app/device language
  • keep note text on the device with no API key, remote endpoint, or third-party dependency
  • expose loading, success, already-translated, unavailable, and retry states
  • translate the complete rendered note text instead of the collapsed feed preview

Compatibility

  • available on Android 12 (API 31) and newer when the device provides an on-device translation service
  • hidden on older Android versions

Verification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Translate notes to user's preferred language

1 participant