Repository navigation
feat(i18n): localize OpenAI-Compatible template taglines and help text - #625
Merged
haiphucnguyen merged 1 commit intoAug 10, 2026
Conversation
Extract hardcoded English tagline and helpText strings from OpenAiCompatibleTemplate into the i18n resource bundle for all 5 predefined templates (Cloudflare AI, Groq, NVIDIA NIM, OpenRouter, Together AI). - Rename tagline/helpText fields to taglineKey/helpTextKey, holding resource keys instead of literal text - Add provider.template.<name>.tagline / .help keys to messages.properties and translate into all 9 supported locales (de, es, fr, ja, ko, pt, vi, zh, zh_TW) - Render both taglineKey and helpTextKey via stringResource() in ProviderSelectionDialog.kt Closes askimo-ai#607 Signed-off-by: Denis Frolkov <[email protected]>
haiphucnguyen
approved these changes
Aug 10, 2026
haiphucnguyen
left a comment
Collaborator
There was a problem hiding this comment.
Thank you @DenisFrolkov !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extracts the hardcoded English
taglineandhelpTextstrings onOpenAiCompatibleTemplateinto the i18n resource bundle, for all 5 predefined templates (Cloudflare AI, Groq, NVIDIA NIM, OpenRouter, Together AI).tagline/helpTextfields totaglineKey/helpTextKey, holding resource keys (provider.template.<name>.tagline/.help) instead of literal textmessages.propertiesand translated into all 9 supported locales (de, es, fr, ja, ko, pt, vi, zh, zh_TW)ProviderSelectionDialog.ktto render both viastringResource()instead of the raw fieldCloses #607
Test plan
./gradlew compileKotlin— clean acrossshared,desktop-shared,desktop./gradlew spotlessApply/./gradlew detekt— no new findings on changed files./gradlew test— no regressions inshared/desktoptest suites{ACCOUNT_ID}placeholder and URLs preserved) for Cloudflare AI and Groq