How to change menu according to the language?

This can be done via cookies. We set it with Javascript, reload the page and display different menus in PHP using its value. First, print the script at the site footer (see comments). Note: would be better to enqueue this together with your theme scripts. add_action( ‘wp_footer’, ‘wpse_77220_language_cookie’ ); /** * Cookie script based on … Read more

Custom Meta Field not Working with qTranslate [closed]

Less complicated is to use the plugin’s Quicktags and use the Gettext functions to print the content in the site. [:en]English[:pt]Português Quicktags docs Another option is to do just like qTranslate interface does with the post titles: Create one custom field for each language in your meta box: qTrans documentation is not consolidated, so analyzing … Read more

How can I set up multi language admin ui?

There are a couple of methods that this can be done without the overhead of plugins. Method 1 The first method involves hooking to the load_textdomain_mofile filter. (This must go into a separate plugin) function wpse31785_change_mofile( $mofile, $domain ) { if ( $domain == ‘default’ and get_current_user() == ‘riccardo’ ) return substr($mofile, 0, -8).’it_IT.mo’; return … Read more