Home / Forums / WoodMart support forum / Seperate admin panel language from theme
Home › Forums › WoodMart support forum › Seperate admin panel language from theme
Seperate admin panel language from theme
- This topic has 7 replies, 2 voices, and was last updated 2 years ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
October 23, 2023 at 6:38 pm #506480
storedParticipantI 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?
October 24, 2023 at 2:20 pm #506678
Aizaz Imtiaz AwanKeymasterHello,
If you use the WPML plugin then you can add a language switcher in the site.
https://wpml.org/documentation/getting-started-guide/language-setup/#language-switcher
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/Best Regards.
October 24, 2023 at 2:26 pm #506693
storedParticipantIn 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);October 24, 2023 at 3:33 pm #506731
Aizaz Imtiaz AwanKeymasterHello,
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.
October 24, 2023 at 3:57 pm #506740
storedParticipantFront-end language as main site language (Even WMPL if switcher is needed ) , but keep backend and theme settings in admin language.
October 25, 2023 at 2:32 pm #507076
Aizaz Imtiaz AwanKeymasterHello,
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/hDbxVqFBest Regards.
October 31, 2023 at 12:58 pm #508785
storedParticipantThis setting not affect woodmart theme settings – only wp admin.
October 31, 2023 at 3:20 pm #508823
Aizaz Imtiaz AwanKeymasterHello,
Please share the WP admin login details of your site so I will check and give you the possible solution.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register