Skip to content

feat(i18n): localize OpenAI-Compatible template taglines and help text - #625

Merged
haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
DenisFrolkov:feat/localize-openai-compatible-templates-607
Aug 10, 2026
Merged

haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
DenisFrolkov:feat/localize-openai-compatible-templates-607

Conversation

@DenisFrolkov

Copy link
Copy Markdown
Contributor

Summary

Extracts the hardcoded English tagline and helpText strings on OpenAiCompatibleTemplate into the i18n resource bundle, for all 5 predefined templates (Cloudflare AI, Groq, NVIDIA NIM, OpenRouter, Together AI).

  • Renamed tagline/helpText fields to taglineKey/helpTextKey, holding resource keys (provider.template.<name>.tagline / .help) instead of literal text
  • Added the new keys to messages.properties and translated into all 9 supported locales (de, es, fr, ja, ko, pt, vi, zh, zh_TW)
  • Updated ProviderSelectionDialog.kt to render both via stringResource() instead of the raw field

Closes #607

Test plan

  • ./gradlew compileKotlin — clean across shared, desktop-shared, desktop
  • ./gradlew spotlessApply / ./gradlew detekt — no new findings on changed files
  • ./gradlew test — no regressions in shared/desktop test suites
  • Manual check in the running app: opened the provider wizard on English, German, and Korean locales and confirmed tagline + help card render correctly (no raw resource keys, {ACCOUNT_ID} placeholder and URLs preserved) for Cloudflare AI and Groq

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]>
@CLAassistant

CLAassistant commented Aug 10, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@haiphucnguyen haiphucnguyen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @DenisFrolkov !

@haiphucnguyen
haiphucnguyen merged commit 6652190 into askimo-ai:main Aug 10, 2026
10 of 12 checks passed
@DenisFrolkov
DenisFrolkov deleted the feat/localize-openai-compatible-templates-607 branch August 22, 2026 10:25
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.

Localize all hardcoded strings in OpenAI-Compatible provider UI

3 participants