Seperate admin panel language from theme
-
I would like to define theme setting panel in same level as wordpress admin language.
I mean – when website is set to language (1) I would like to make possible admin user switch to language (2)
All backend and theme settings panel: Language (2)
All frontend: Language (1)
Otherwise I have translated .pot in language (1) , but user can see theme settings in same language (1)
// Get the user’s selected language from their profile settings.
$user_language = get_user_meta($user_id, ‘locale’, true);
What can be best solution for this?
In this case I looking for admin side solution and theme settings panel. Without WPML just .pot
// Get the user’s selected language from their profile settings.
$user_language = get_user_meta($user_id, ‘locale’, true);
Hello,
Please let me clear one thing. Do you want to set the WP backend language in English and the frontend language in the local language?
Best Regards.
Front-end language as main site language (Even WMPL if switcher is needed ) , but keep backend and theme settings in admin language.
Hello,
Yes, it is possible. You have to select the language for the backend and theme settings for admin from the admin user profile, please edit the user’s profile and then select the language for that user it will show the same on the backend:
https://ibb.co/hDbxVqF
Best Regards.
This setting not affect woodmart theme settings – only wp admin.
Hello,
Please share the WP admin login details of your site so I will check and give you the possible solution.
Best Regards.