Title: WCM User Language Switcher
Author: Stephen Harris
Published: <strong>2013年1月18日</strong>
Last modified: 2020年7月11日

---

プラグインを検索

![](https://ps.w.org/wcm-user-language-switcher/assets/banner-772x250.png?rev=2339183)

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

![](https://s.w.org/plugins/geopattern-icon/wcm-user-language-switcher_ececec.svg)

# WCM User Language Switcher

 作者: [Stephen Harris](https://profiles.wordpress.org/stephenh1988/)

[ダウンロード](https://downloads.wordpress.org/plugin/wcm-user-language-switcher.zip)

 * [詳細](https://ja.wordpress.org/plugins/wcm-user-language-switcher/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wcm-user-language-switcher/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wcm-user-language-switcher/#installation)
 * [開発](https://ja.wordpress.org/plugins/wcm-user-language-switcher/#developers)

 [サポート](https://wordpress.org/support/plugin/wcm-user-language-switcher/)

## 説明

WCM Language Switcher adds a button to the admin toolbar that allows users to seamlessly
switch between available languages.

WeCodeMore (WCM) is your label for high quality WordPress code from renowned authors.

If you want to get updates, just follow us on…

 * [our GitHub repository](https://github.com/wecodemore)

## スクリーンショット

[⌊The plugin in action in the admin bar.⌉⌊The plugin in action in the admin bar.⌉[

The plugin in action in the admin bar.

## インストール

Extract the zip file and just drop the contents in the `~/wp-content/plugins/` directory
of your WordPress installation and then activate the Plugin from Plugins page.

It scans the language directory to build the list of available languages. To add
a language, simple [download the appropriate mo file](https://codex.wordpress.org/WordPress_in_Your_Language)
and add to your WordPress language folder.

This plugin was originally built as a means of plugin and theme developers to test
translations of their plugins or themes.

## FAQ

### Filters

If you want to extend the list of available languages, then please use the provided
filter. Here’s an example (mu)plugin:

    ```
        <?php
        /* Plugin Name: (WCM) Add additional languages */
        add_filter( 'wcm_get_langs', 'wcm_add_languages' );
        function wcm_add_languages( $languages )
        {
            return array_merge( $languages, array(
                'de_DE', // German
                'es_ES', // Spanish
                'ja',    // Japanese
            ) );
        }
    ```

## 評価

![](https://secure.gravatar.com/avatar/bf4dca04bd4ffb1c8bf06dd45d6c24737b00fd725a52da296eae9346ca11b3cb?
s=60&d=retro&r=g)

### 󠀁[Dead Simple](https://wordpress.org/support/topic/dead-simple-7/)󠁿

 [Hex0dus](https://profiles.wordpress.org/hex0dus/) 2017年6月16日

So simple and useful – a must have!

 [ 8件のレビューをすべて表示 ](https://wordpress.org/support/plugin/wcm-user-language-switcher/reviews/)

## 貢献者と開発者

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

貢献者

 *   [ Stephen Harris ](https://profiles.wordpress.org/stephenh1988/)
 *   [ Stephen Harris ](https://profiles.wordpress.org/stephenharris/)
 *   [ Franz Josef Kaiser ](https://profiles.wordpress.org/f-j-kaiser/)

[“WCM User Language Switcher” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wcm-user-language-switcher)

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

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wcm-user-language-switcher/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/wcm-user-language-switcher/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/wcm-user-language-switcher/)
を [RSS](https://plugins.trac.wordpress.org/log/wcm-user-language-switcher/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.8.0

 * Fix hook for additional item inside the Admin Bar, #37
 * Update screenshot, #25
 * Test in Multisite, Network activation, #27
 * Set code style in each line for PSR1-2
 * See also on front-end, if Admin Bar is active fir the user, #32

#### 1.7.6

 * Fixes admin bar menu item on mobile
 * Adds dashicon to admin bar
 * Fixes some styling issues

#### 1.7.5

 * Removed legacy method.
 * Removed empty lines to shorten file.

#### 1.7.4

 * Fixed wrong assumption about default language.

#### 1.7.3

 * Added support for composer.

#### 1.7.2

 * Removed deprecated `wcm_get_user_locale()` from public API.

#### 1.7.1

PHP 5.2 work-around for json_last_error()

#### 1.7

 * Changes to feat. request/enhancement #18: Now shows the native string in the 
   toolbar menu
 * Removes the current language as menu item
 * Adds the international/English language string + ISEO 639-2 code as HTML title
   attr. to the items.
 * Switched from `$wp_admin_bar->add_menu()` to the newer API method `add_node()`.

#### 1.6.6

 * Improved dev tools. Now also counts the number of available ISO 639-2 language
   codes.

#### 1.6.5

 * Deprecated `wcm_get_user_locale()` (replaced with `wcm_get_user_lang()` and tell
   users about it.
 * Improved code readability on `format_code_lang()`

#### 1.6.4

 * Consistent naming according to GitHub issue #21
 * **Devlopers:** The filter names changed as well as the public API function.

#### 1.6.3

 * Start earlier on `plugins_loaded` hook to let other plugins jump in with the 
   default priority.

#### 1.6.2

 * phpDocBlock fixes
 * fixed references to static values so PhpStorm can handle them
 * Slightly faster checks against NULL
 * fixes `E_STRICT` error in `reset()` inside `format_lang_code()`. Props toscho.

#### 1.6

 * Dev Tools extended and running stable. Now updating from the remote source works
   perfectly.
 * Better file organisation. Moved JSON files to separate folder.
 * Fixed (due to refactoring) broken JSON compress dev tools.

#### 1.5

 * Added local/native JSON strings data file.
 * Extended the dev tools parser to include the native data for the JSON files that
   are used for the UI.

#### 1.4

 * Added remote location to fetch a complete list of ISO 639-x strings from.
 * Added a parser to the dev tools.

#### 1.3

 * Added dev tools

#### 1.2

 * Bug fix: Now has right language string.

#### 1.1

 * Initial Version in the official repo.
 * Now works with the ISO 639-2, which adds support for nearly every language.

#### 1.0

 * Bug fixes
 * Speed improvements. Props Thomas “toscho” Scholz

#### 0.9

 * Moved to JSON file. Works with compressed file. Has an uncompressed version for
   live sites.

#### 0.9

 * Moved to JSON file. Works with compressed file. Has an uncompressed version for
   live sites.

#### 0.9

 * Moved to JSON file. Works with compressed file. Has an uncompressed version for
   live sites.
 * Switched license to GPL3

#### 0.8

 * Reworked plugin code to a more readable code styling and maximum line length (
   GitHub page width).

#### 0.7

 * Bug fixes

#### 0.6.

 * Moved from a GitHub Gist to a GitHub.

## メタ

 *  バージョン **1.8.1**
 *  最終更新日 **6年前**
 *  有効インストール数 **100+**
 *  WordPress バージョン ** 3.6.1またはそれ以降 **
 *  検証済み最新バージョン: **4.1.42**
 *  言語
 * [English (US)](https://wordpress.org/plugins/wcm-user-language-switcher/)
 * タグ
 * [language](https://ja.wordpress.org/plugins/tags/language/)[localisation](https://ja.wordpress.org/plugins/tags/localisation/)
   [switcher](https://ja.wordpress.org/plugins/tags/switcher/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wcm-user-language-switcher/advanced/)

## 評価

 5つ星中5つ星

 *  [  8 5-星レビュー     ](https://wordpress.org/support/plugin/wcm-user-language-switcher/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/wcm-user-language-switcher/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/wcm-user-language-switcher/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/wcm-user-language-switcher/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/wcm-user-language-switcher/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wcm-user-language-switcher/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/wcm-user-language-switcher/reviews/)

## 貢献者

 *   [ Stephen Harris ](https://profiles.wordpress.org/stephenh1988/)
 *   [ Stephen Harris ](https://profiles.wordpress.org/stephenharris/)
 *   [ Franz Josef Kaiser ](https://profiles.wordpress.org/f-j-kaiser/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wcm-user-language-switcher/)