Skip to content

feat: add inline note translation#1068

Open
sato820 wants to merge 1 commit into
PrimalHQ:mainfrom
sato820:codex/inline-note-translation-1055
Open

feat: add inline note translation#1068
sato820 wants to merge 1 commit into
PrimalHQ:mainfrom
sato820:codex/inline-note-translation-1055

Conversation

@sato820

@sato820 sato820 commented Jun 30, 2026

Copy link
Copy Markdown

Summary

  • add an inline Translate control below note content
  • call a configurable LibreTranslate-compatible endpoint with optional API key and target language
  • preserve Nostr refs, URLs, lightning/bitcoin IDs, hashtags, and mentions while translating
  • cache translations locally by endpoint, target language, and note text hash
  • add a Translation settings screen to enable/disable the feature and edit endpoint/API key/language

Verification

  • git diff --check
  • attempted ./gradlew.bat :app:compileAospDebugKotlin; Gradle starts, but this local machine has no Android SDK configured, so the task stops at SDK location not found before Kotlin compilation.

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.

1 participant