Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

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…


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



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

    /* 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
        ) );


Leer todas las 8 reseñas

Colaboradores y desarrolladores

"WCM User Language Switcher" es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce "WCM User Language Switcher" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • 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


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


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


  • Fixed wrong assumption about default language.


  • Added support for composer.


  • Removed deprecated wcm_get_user_locale() from public API.


PHP 5.2 work-around for json_last_error()


  • 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().


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


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


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


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


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


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


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


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


  • Added dev tools


  • Bug fix: Now has right language string.


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


  • Bug fixes
  • Speed improvements. Props Thomas "toscho" Scholz


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


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


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


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


  • Bug fixes


  • Moved from a GitHub Gist to a GitHub.