CRM-14390 Inherit CMS language from WordPress / WPML plugin

Small patch to make multilingual forms work in WordPress with WPML plugin.