WordPress Plugin: Complete Language Switcher

A while ago I uploaded a new plugin to the WordPress plugin directory called Complete Language Switcher. Using this plugin enables you to easily make a multilingual blog with WordPress to give the user the best experience in a language you provide.

Wordpress Plugin: Complete Language Switcher

Download Download the plugin

Complete Language Switcher provides an easy way to filter out posts in a certain language. It will only display content in the set language and also view the template in the language set by the user. If there is no language set the plugin will pick the standard language set in the config of your WordPress blog.

What do I need?

How do I install it?

Installing this plugin is easy.

  1. Install and activate the xili-language plugin.
  2. Upload the complete-language-switch folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Place <?php cls_langs_html(); ?> anywhere in your templates or hook it in your template using <?php add_action(‘hook_name’, ‘cls_langs_html’); ?>.

You are done and can use the plugin now!

A few notes:

Make sure you put en_US.mo files in the language folders when you use the default English language of WordPress.

Check the /flags/ directory in the plugin folder to see if your flag is in there. Naming is the 2 last characters of the locale (eg. en_US) in lowercase in PNG format. So en_US would be: us.png

Future:

Got in contact with the creator of Xili-language to improve the functionality of my plugin. This will involve better overall taxonomy filtering and also filtering out standard functions such as wp_list_categories().
More on this soon.

Questions?

Let me know what you think in the comments.

If you have any questions you can let me know.

You can also file issues in the WordPress Plugin directory.

Liked this article? Sharing is caring!

17 Comments on this subject

  1. Thomas said:

    Can u please tell me in witch file or template i have to insert this php-string, and also were in the file.

    At the moment when i activate your plugin i can’t reach my wp-blog anymore… could this missing php be the reason for this?

    Thanks

  2. hi Thomas. exact the same thing happens with my site. I took away all map with “Complete Language Switcher” from ftp and its works again. you should find in your directory “ftp.yoursite.com/wp-content/plugins/Complete Language Switcher/, somthing like this and send it to hell.

  3. Diseño web said:

    La empresa que mejor desempeña el diseño web en Almería es precisamente Vánara. Cuenta con el equipo necesario de personal para acometer cualquier proyecto de principio a fin. en el grupo está dos diseñadores gráficos los cuales desempeñan el papel fundamental del diseño web en almería.

Leave your reply

Your email address will not be published. Avatars through Gravatar.

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>