[wp-trac] [WordPress Trac] #65015: Connectors: Several strings are not translated (was: Connectors: Several strings are not translated (missing gettext))

WordPress Trac noreply at wordpress.org
Sat Apr 4 06:35:17 UTC 2026


#65015: Connectors: Several strings are not translated
--------------------------+---------------------
 Reporter:  369work       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  7.0
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by sabernhardt):

 * keywords:  needs-patch =>
 * milestone:  Awaiting Review => 7.0


Old description:

> In the Connectors section of the WordPress admin panel, several strings
> remain in English regardless of the site language setting.
> Steps to reproduce:
>
> Install WordPress 7.0 RC2
> Navigate to the Connectors section in the admin panel
> Switch the site language to any non-English language
>
> Strings that are not translated:
>
> "Text and image generation with Gemini and Imagen."
> "If the connector you need is not listed"
> "All of your API keys and credentials are stored here and shared across
> plugins. Configure once and use everywhere."
> "Set up" (button)
>
> Expected behavior:
> All of the above strings should be translatable, as the "Install" and
> "Cancel" buttons already are.
> Actual behavior:
> The strings listed above are not translated and remain in English
> regardless of the site language setting.
> WordPress version: 7.0 RC2

New description:

 In the Connectors section of the WordPress admin panel, several strings
 remain in English regardless of the site language setting.

 ==== Steps to reproduce:

 - Install WordPress 7.0 RC2
 - Switch the site language to any non-English language
 - Navigate to the Connectors section in the admin panel

 Strings that are not translated:

 - "Text and image generation with Gemini and Imagen."
 - "If the connector you need is not listed"
 - "All of your API keys and credentials are stored here and shared across
 plugins. Configure once and use everywhere."
 - "Set up" (button)

 ==== Expected behavior:

 All of the above strings should be translatable, as the "Install" and
 "Cancel" buttons already are.

 ==== Actual behavior:

 The strings listed above are not translated and remain in English
 regardless of the site language setting.

 WordPress version: 7.0 RC2

--

Comment:

 I have the translation for the Gemini and Imagen string now because that
 is in the `connectors.php` file, but the JSON translations are not used
 yet.

 All Japanese string translations for WordPress 7.0 have been completed,
 including those related to
 [https://translate.wordpress.org/projects/wp/dev/ja/default/?filters%5Bterm%5D=connector
 connectors].

 The
 [https://github.com/WordPress/gutenberg/blob/6dab881281120bc406a9621d0344e212441a92c2/routes
 /connectors-home/stage.tsx#L55 strings] have the `__()` function, and the
 script requests the `i18n` package.

 The script module includes some translations:
 {{{
 <script id="wp-script-module-data-options-connectors-wp-admin"
 type="application/json">
 {"connectors":{"anthropic":{"name":"Anthropic","description":"Claude を使
 用したテキスト生成。
 ","logoUrl":null,"type":"ai_provider","authentication":{"method":"api_key","settingName":"connectors_ai_anthropic_api_key","credentialsUrl":"https://platform.claude.com/settings/keys","keySource":"none","isConnected":false},"plugin":{"file
 ":"ai-provider-for-
 anthropic/plugin.php","isInstalled":false,"isActivated":false}},"google":{"name":"Google","description":"Gemini
 と Imagen による、テキストおよび画像の生成。
 ","logoUrl":null,"type":"ai_provider","authentication":{"method":"api_key","settingName":"connectors_ai_google_api_key","credentialsUrl":"https://aistudio.google.com
 /api-keys","keySource":"none","isConnected":false},"plugin":{"file":"ai-
 provider-for-
 google/plugin.php","isInstalled":false,"isActivated":false}},"openai":{"name":"OpenAI","description":"GPT
 と Dall-E による、テキストおよび画像の生成。
 ","logoUrl":null,"type":"ai_provider","authentication":{"method":"api_key","settingName":"connectors_ai_openai_api_key","credentialsUrl":"https://platform.openai.com
 /api-keys","keySource":"none","isConnected":false},"plugin":{"file":"ai-
 provider-for-
 openai/plugin.php","isInstalled":false,"isActivated":false}}}}
 </script>
 }}}

 I remember having a similar issue earlier with strings in JavaScript when
 using trunk or beta/RC, and I think it resolved itself in the general
 release. However, this might need to assign the translations for the
 script module.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65015#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list