Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #65015


Ignore:
Timestamp:
04/04/2026 06:35:17 AM (2 months ago)
Author:
sabernhardt
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 connectors.

The 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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #65015

    • Property Keywords needs-patch removed
    • Property Milestone changed from Awaiting Review to 7.0
    • Property Summary changed from Connectors: Several strings are not translated (missing gettext) to Connectors: Several strings are not translated
  • Ticket #65015 – Description

    initial v1  
    11In the Connectors section of the WordPress admin panel, several strings remain in English regardless of the site language setting.
    2 Steps to reproduce:
    32
    4 Install WordPress 7.0 RC2
    5 Navigate to the Connectors section in the admin panel
    6 Switch the site language to any non-English language
     3==== Steps to reproduce:
     4
     5- Install WordPress 7.0 RC2
     6- Switch the site language to any non-English language
     7- Navigate to the Connectors section in the admin panel
    78
    89Strings that are not translated:
    910
    10 "Text and image generation with Gemini and Imagen."
    11 "If the connector you need is not listed"
    12 "All of your API keys and credentials are stored here and shared across plugins. Configure once and use everywhere."
    13 "Set up" (button)
     11- "Text and image generation with Gemini and Imagen."
     12- "If the connector you need is not listed"
     13- "All of your API keys and credentials are stored here and shared across plugins. Configure once and use everywhere."
     14- "Set up" (button)
    1415
    15 Expected behavior:
     16==== Expected behavior:
     17
    1618All of the above strings should be translatable, as the "Install" and "Cancel" buttons already are.
    17 Actual behavior:
     19
     20==== Actual behavior:
     21
    1822The strings listed above are not translated and remain in English regardless of the site language setting.
     23
    1924WordPress version: 7.0 RC2