NoOpDocTranslator
No-op translation service for platforms without on-device translation capability (F-Droid, Desktop, iOS).
Always returns TranslationResult.Unavailable, causing the caller to fall back to English.
Functions
Link copied to clipboard
Download the translation model for a locale. Only meaningful on google flavor.
Link copied to clipboard
Check if translation to the given locale is possible (model downloaded or downloadable).
Link copied to clipboard
open suspend override fun translatePage(pageId: String, markdown: String, targetLocale: String): TranslationResult
Translate a markdown page to the target locale. Returns the fully-translated markdown or a status.