Say what?

説明

WordPress コアやプラグイン、テーマのコードを編集することなくサイト上の文字列を変更可能な、簡単に使えるプラグイン。現在の文字列と置換先の内容を入力するだけで、あとはプラグインが自動的に置換します。

このプラグインは、GitHub 上でフォークや貢献できます。

Say What? プロ版では以下の機能もご利用いただけます。

  • String Discovery and autocomplete – find the strings you need without diving through code. Works with server-side and Javascript-rendered strings
  • Improved performance using text-domain-specific filters
  • ワイルドカード文字列の置換 – 個々の単語、またはサイト全体で文字の断片を置き換えられます
  • 多言語対応 – 多言語サイト上で、言語ごとに異なる置換を設定できます
  • インポート/エクスポート機能 – ユーザーインターフェースを通して簡単に置換設定をインポート/エクスポートできます

Support this free plugin

As a business, we already donate a percentage of our profits from premium plugins to global climate change projects. You’re free to use this plugin free of charge, but if you do, please consider buying the world some trees in return. You’ll be creating employment for local families and restoring wildlife habitats.

スクリーンショット

  • List of configured string replacements
  • Adding/editing a replacement

インストール

  • 他のプラグインと同様にインストールしてください。
  • 有効化する
  • 「ツール » テキスト変更」画面に移動し、文字列置換を設定してください。

FAQ

どんな文字列でも変更できますか ?

このプラグインを使った場合、翻訳用に指定された文字列のみしか翻訳できません。

どうやって翻訳する文字列を見つければよいですか ?

推測するか、プラグインのソースコードを確認することもできます。一般的に、翻訳可能な文字列は __()、_e()、_n()、_x() のいずれかで囲まれています。例:

$foo = __('This is a translatable string', 'plugin-domain');

The article here shows some examples of what you’re looking for. Alternatively, the Pro version of the plugin provides a String Discovery mode which means you can search for strings on your site via autocomplete suggestions.

置換設定をインポートするためのサポートはありますか ?

“Say What?” has preliminary support for exporting, and importing replacements via http://wp-cli.org/. The following commands are currently
supported:

  • export – Export all current string replacements.
  • import – Import string replacements from a CSV file.
  • list – Export all current string replacements. Synonym for ‘export’.
  • update – update string replacements from a CSV file.

GitHub ホームページで例をご覧ください。

言語ごとに異なる置換設定をすることはできますか ?

無料のプラグインではできませんが、プロ版のプラグインで可能です。

評価

2023年8月24日 4 replies
This is the plugin's description:An easy-to-use plugin that allows you to alter strings on your site without editing WordPress core, or plugin code. Simply enter the current string, and what you want to replace it with and the plugin will automatically do the rest! I tried it with this string: <div id="wrapper"> that I want to replace with: <div class="wrapper">, but nothing happened.It says in the description that I only need to enter the current string, and what you want to replace it with and the plugin will automatically do the rest. But it doesn't work that way.
2023年6月9日 1 reply
Does exactly what it supposed to do. Don't need to change the core file for changing strings we want to translate. You will need to find the exact string name and it's location (site domain).
2022年6月1日 1 reply
I was in the process of creating a webshop with a Woocommerce and Blocksy theme. With this plugin, I've translated a few strings from the Blocksy theme which I didn't translate with a Loco Translate plugin. Soo cool!
90件のレビューをすべて表示

貢献者と開発者

Say what? はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Say what?” は13ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Say what?” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

2.2.2

  • Fix: Resolve issue where replacements weren’t made if an external object cache was in use.

2.2.1

  • Change: Internal refactor of classes

2.1.9

  • Change: Minor admin UI changes

2.1.8

  • Fix: Include missing image

2.1.7

  • Change: Admin UI updates

2.1.6

  • Change: Styling & documentation updates.

2.1.5

  • Fix: Avoid warning when sorting list table.

2.1.4

  • Change: Localisation improvements

2.1.3

  • Change: Updates to Javascript dependencies.

2.1.2

  • Change: Updates to Javascript dependencies, smaller JS footprint.

2.1.1

  • Fix: Resolve issue where console errors could be thrown if no replacements configured.

2.1.0

  • New: Optimise performance when an external object cache is available
  • Fix: Imports via WP-CLI could fail if the pro extension had previously been active

2.0.2

  • Reduce size of bundled images
  • Update dev build scripts

2.0.1

  • Improve Javascript performance, and remove lodash dependency (resolves some plugin conflicts)

2.0.0

  • Support for translatable strings rendered through WordPress Javascript framework
  • Supports replacing text in Gutenberg / WooCommerce admin / WooCommerce blocks
  • Update details of Say What? Pro vs free plugin

1.9.7

  • Fix issue where replacement table disappeared at small screen widths
  • Update WordPress compatibility
  • Changes to donation / upsell content

1.9.6

  • Fix link in documentation

1.9.5

  • WordPress 5.5 compatibility
  • Changes to Treeware links

1.9.4

  • Ensure help links open in new windows

1.9.3

  • Fix link target in Treeware content

1.9.2

  • Suggest Treeware donations

1.9.1

  • プロ版機能についての情報を更新

1.9.0

  • Fix issue adding more strings after downgrade from Pro
  • Update text domain of plugin to match wordpress.org guidelines to aid translations

1.8.2

  • Documentation updates only

1.8.1

  • Update plugin links, include settings and upgrade link
  • Update documentation about pro features
  • Admin styling fixes

1.8.0

  • Fix issues where entities could be double encoded on admin screens.

1.7.1

  • Update to admin marketing message. No functional changes.

1.7

  • Support for _n() and _nx()
  • Support for multi-line strings

1.6

Introduce filters that allows back compatibility for plugins that change their text-domain. Props Pippin Williamson

1.5

Avoid warnings on initial activation.
Avoid issues where strings contain HTML / entities

1.4

Add info box about Pro version

1.3

Support for WP-CLI import and export.

1.2

Swap database to UTF-8 to fix problems entering non-ASCII strings.

1.1

Fix incorrect escaping on the admin screens.

1.0.1

Fix initial DB table creation
Fix translations for strings with no domain

1.0

Allow strings with context to be replaced

0.9.3

Documentation improvements

0.9.2

Avoid wpdb->prepare warning
Minor admin fixes, don’t double translate strings

0.9.1

Fix issue with fields being swapped when first entered

0.9

Beta ready for testing and feedback