このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Auto Currency Converter

説明

投稿や固定ページ中に金額の表記が出てきた時、このプラグインはそれらを検知し、外貨でいくらになるかを表示します。

現在のところ、このプラグインは日本円と米ドルの間で、英語と日本語の文中でのみ作動します。

たとえば、「それには350ドルかかりました」は「それには350ドル(32,854円)かかりました」と表示されます。

変換は、最近の為替レートを基に行われます。

For bloggers who already did such conversion manually, the plugin has an option to set a date only after when the conversion works.

インストール

This section describes how to install the plugin and get it working.

  1. Download the plug-in file, extract under your WordPress plugin folder.
  2. Log into your WordPress admin panel.
  3. Go to Plug-ins and Activate the “Auto Currency Converter”

FAQ

Some numbers are not detected. What are limitations?
  • number in text are not detected. For example,
    • twenty dollars
    • few thousand dollars
    • a couple of dollars
    • numbers bigger than billion are not handled
    • billion/trillion は、イギリス式ではなくアメリカ式で扱います(両方を同時にサポートすることはできないため)
What if I do not want to display auto-converted prices in a specific post?

記事に”acc_disable”タグをつけると、その記事中では変換がされないようにできます。

Are USD/JPY rate correct? How much is it up-to-date?

It uses free currency converter API. However, when the API is down, this plugin uses direct value (110 yen / 1 dollar). This behaviour was changed at the version 1.2.2, I think it might be better than showing nothing converted.

How are Japanese zenkaku(full-width) digits handled?

All Japanese zenkaku digits are converted, then checked and filtered. Because of that, all digits in the text, even though they are not money related, will be converted with regular ASCII digits.

評価

2018年3月2日
This plugin is almost perfect. I just wish it would automatically convert Yen to USD. At the moment it only converts USD to Yen.
2017年11月12日
Very very simple to use and light weight. Enter your prices as usual like this: $12.00 and it shows yen for your Japanese clients right beside it 🙂
2016年9月3日
I have used this plugin since i found this. This works great and is very useful. In fact,there are no plugin likes auto currency converter. that makes this premium.
2016年9月3日
I always use this plug in because we are using Japanese Yen and USD. I confused sometimes currency problem. but this Plug in is great works. a lot of thanks for authors.
4件のレビューをすべて表示

貢献者と開発者

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

貢献者

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

“Auto Currency Converter” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.2.2

  • 1.2.1 had a bug so not working properly.

1.2.1

  • use a direct value 110 yen/dollar when currency API is down or unavaiable. To let it keep running on

1.2.0

  • fix a bug with the new API. Japanese conversion was badly done on version 1.1.8/1.1.9
  • tested with the latest WordPress version 4.9.6

1.1.9

  • fix build proceasure

1.1.8

  • changed currency API to call, as the former API started asking registration and API key
  • removed old version support, WordPress 3.x
  • removed old version support, PHP 5.3

1.1.7

  • fixed translation code not use constant, to enable user translation
  • fixed a bug that $2000 was recognized as $200 and 0, when 4 digits written after dollar/yen mark.

1.1.6

  • changed to call fixer.io API, as Yahoo finance API had stopped around November 1st
  • added translation text-domain info in plugin header

1.1.5

  • remove php-intl polyfil, which supports better localized currency notations even without php_intl extension. As the polyfil library is too large to deliver and useless if the user set up php_intl extension correctly.
  • tested with the latest WordPress version 4.8.3

1.1.4

  • fixed warning “A non-numeric value encountered” with PHP7.1 or later
  • tested with the latest WordPress version 4.8.2

1.1.3

  • tested with the latest WordPress version 4.6.1
  • emphasize caution to user who runs her PHP without php-intl extension. enabling php-intl will make the pluging much much faster

1.1.2

  • when the converted dollar is less than $1, it now displays like ‘$0.xx’ instead of ‘$0’.
  • added missing Japanese translations.

1.1.1

  • 1.1.0 missed libraries for specific env.

1.1.0

  • removed php_intl extension check
  • even if php_intl extension is off, it works with the symfony/intl compatible library. Performance-wise, php_intl is better to be turned on. And it only supports English locale.

1.0.9

  • added a feature to disable conversion on specific post with ‘acc_disable’ tag

1.0.8

  • fixed a new bug at 1.0.7

1.0.7

  • checked with the latest WordPress 4.4.2

1.0.6

  • checked with the latest WordPress 4.4.1

1.0.5

  • updated Composer autoloader to avoid collision with other plugins using later version of Composer

1.0.4

  • make it work even allow_url_fopen is off.
  • fixed – not caching the rates when data-fetching failed.

1.0.3

  • stop trying to convert money in title. only money in body are processed.

1.0.2

  • make the default cache period to one month, to avoid too much updates on feed

1.0.1

  • changed to skip gracefully in case exchange rate are unavailable

1.0.0

  • 最初のリリース