Skip to content

Localize all hardcoded strings in OpenAI-Compatible provider UI #607

Description

@haiphucnguyen

Summary

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions