Does not honour ‘User Language’ setting in admin – uses site language only
-
Hi
I use this MU Plugin
*************Plugin Name: Admin language fix for elementor
Description: Force Elementor to use User’s Profile Language NOT site language
Version: 1.0.0
Author: @crazypsycho Github
Author URI: https://github.com/crazypsycho
/*
add_action( ‘set_current_user’, function() {
global $current_user;
$userLocale = get_user_meta( get_current_user_id(), ‘locale’, true );
$current_user->locale = $userLocale;
}, 11 );
*/
***************However your plugin is blocking / overriding it
Means I can only have the admin in the site language and not the User’s profile language
Can you help
I have had to use a different ‘Visibility’ plugin that does not have this problem
I thought you should know the problem – so you can decided whether to fix it
Best regards
Ashley
- The topic ‘Does not honour ‘User Language’ setting in admin – uses site language only’ is closed to new replies.