Black Studio WPML Javascript Redirect

Automatic javascript redirection based on user'language for WPML-powered sites (it works with caching plugins too)

Author:Black Studio (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:3.4.2
Plugin version:0.2
Added to WordPress repository:30-08-2012
Last updated:02-10-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://wordpress.org/extend/plugins/black-stu...
Total downloads:613
plugin download
Click to start download

This plugin requires the WPML plugin to be installed and active. WPML comes with a native redirection feature based on browser language detection, but it doesn't work if you are using a caching plugin like W3 Total Cache or WP Super Cache, because the language detection and redirection is made at PHP level, and when serving cached pages that code is not executed at all. This plugin is a workaround for this limitation, as it implements language redirection through javascript, so it can work even in presence of caching plugins.

Note: This is a BETA release, but you can safely try it, since the plugin only adds a javascript behavior and it doesn't change the contents of your site in any way. If you encounter any issues please report them in the support forum.

Links