You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Localize all hardcoded strings in OpenAI-Compatible provider UI #607
The OpenAI-Compatible provider setup flow — including all predefined templates
(OpenRouter, Together AI, Groq, Cloudflare AI, NVIDIA NIM) and the custom server
path — contains hardcoded English strings that are not covered by the i18n system.
These need to be extracted into locale resource files so they can be translated.
Scope
OpenAiCompatibleTemplate enum
Each template entry has two string fields that are currently hardcoded English:
tagline — one-sentence value proposition shown in the provider picker detail panel
helpText — multi-line setup instructions shown in the CONFIG step info card
All 5 templates are affected:
CLOUDFLARE_AI
GROQ
NVIDIA_NIM
OPENROUTER
TOGETHER_AI
UI components using these strings
Any composable that renders template.tagline or template.helpText directly
should switch to stringResource(key) calls.
Hi! I'd like to try this issue - it'd be my first open source PR.
One thing I noticed while reading the code: helpText isn't rendered anywhere in the UI right now (the enum's doc comment mentions a "CONFIG step info card", but OpenAiCompatibleSettings.getConfigFields() doesn't add one - e.g. via InfoField, like LmStudioSettings does). Should that be part of this issue, or a separate follow-up?
These texts are the guidelines only so it should not in the config info fields. Also we do not need to do with LmStudio (which I think we can do simpler now) using the messageResolver callback.
We need to change the text by using the localized key, for instance
provider.template.groq.tagline=Ultra-fast inference for open-source models — Llama, Mixtral, Gemma and more.
provider.template.groq.help=...
We use Google translates to translate all texts to other languages. For me I use the Askimo with the custom directive to help me translating keys
You can use this system prompt
Translate the English content below into the following languages: de, es, fr, ja, ko, pt, vi, zh, zh_TW
Rules:
Translate with the highest quality — do not skip, omit, or shorten any keys or values
Keep all keys (left side of :) unchanged — translate only the string values (right side)
Keep all comments (lines starting with //) in English, unchanged
Preserve all punctuation, quotes, commas, brackets, and whitespace exactly as in the original
Preserve all non-translatable terms as-is: brand names (Askimo, ChatGPT, Claude, Gemini, Ollama, Grok, RAG, MCP, PDF, CLI, YAML, etc.), URLs, icon strings (emoji), and property names
Output each language in its own separate fenced code block (```)
Before each block, write a heading: ### Language Name (code) — e.g. ### German (de)
The output structure inside each block must be character-for-character identical to the original format — same indentation, same quotes style, same line breaks, same trailing commas
ProviderSelectionDialog.kt
Update the two Text calls in providerPickerDetail to use stringResource() instead of the raw field value:
Activity
DenisFrolkov commentedon Aug 9, 2026
Hi! I'd like to try this issue - it'd be my first open source PR.
One thing I noticed while reading the code: helpText isn't rendered anywhere in the UI right now (the enum's doc comment mentions a "CONFIG step info card", but OpenAiCompatibleSettings.getConfigFields() doesn't add one - e.g. via InfoField, like LmStudioSettings does). Should that be part of this issue, or a separate follow-up?
haiphucnguyen commentedon Aug 9, 2026
Thank you @DenisFrolkov . Assigned it to you.
I has wired up the helpText to the provider config
The tagline, and helpText are wired up to the ProviderSelectionDialog
https://github.com/askimo-ai/askimo/blob/main/desktop/src/main/kotlin/io/askimo/desktop/settings/ProviderSelectionDialog.kt#L470-L506 and they are need to be localized.
These texts are the guidelines only so it should not in the config info fields. Also we do not need to do with LmStudio (which I think we can do simpler now) using the messageResolver callback.
We use Google translates to translate all texts to other languages. For me I use the Askimo with the custom directive to help me translating keys
You can use this system prompt
Update the two Text calls in providerPickerDetail to use stringResource() instead of the raw field value:
I am looking forward to your PR :).
feat(i18n): localize OpenAI-Compatible template taglines and help text (