Skip to content

【プラグイン】BcSeoコアプラグインの多言語化(i18n)対応 #4356

@teratai3

Description

@teratai3

概要

他のコアプラグインは config.php 等で __d('baser_core', '…') により翻訳可能な文字列になっている一方、
BcSeo プラグインのみプラグイン説明などが日本語のハードコードのままとなっており、管理画面の言語切り替え時に一貫した表示にならない。

baserCMS version : 5.2.3

現状

plugins/bc-seo/config.php では description が日本語リテラルのみで、title キーも他コアプラグインと揃っておらず抜けている。

// 現状(抜粋)
'description' => 'コンテンツやブログ記事などにSEO用の設定を追加します。',

参考:同じくコアプラグインの plugins/bc-search-index/config.php では以下のように定義されている。

'title' => __d('baser_core', 'サイト内検索'),
'description' => __d('baser_core', 'サイト内の横断検索機能'),

期待される対応

  • 他コアプラグインと同様に、title / description__d('baser_core', '…') でラップする。
  • 文言確定後、plugins/baser-core/resources/locales/baser_core.pot および各言語の baser_core.po(少なくとも en)へ msgid/msgstr を追加する。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Todo実行確定タスク

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions