Why does part of the page display Chinese while another part shows English? I need the entire page to display in English.
This topic has 5 replies, 3 voices, and was last updated 1 months, 3 weeks ago ago by wdbcar
Why does part of the page display Chinese while another part shows English? I need the entire page to display in English.
Hello,
Thank you for reaching out to us.
Please change the Site language here – https://prnt.sc/mZJU5nEIzF7i
Warm Regards,
The 8Theme Team
How can I make the background system display in Chinese while the front – end displays in English?
Hello, wdbcar,
Unfortunately, this functionality is not available by default in either WordPress or the theme.
In order to make the admin area of your site in Chinese while keeping the frontend in English, you need to add the following code to the functions.php file of your child theme.
<?php
/**
* Force admin UI in Chinese, front-end in English.
*/
add_filter('locale', function ($locale) {
// Admin area (Dashboard, wp-admin/*) => Chinese (Simplified)
if ( is_admin() ) {
return 'zh_CN'; // or 'zh_TW' for Traditional
}
// Front-end => English (US)
return 'en_US';
}, 10);
Best regards,
8Theme Team
Thanks for the support! My topic “Why does part of the page display Chinese while another part shows English? I need the entire page” has been successfully resolved.
The issue related to '‘Why does part of the page display Chinese while another part shows English? I need the entire page’' has been successfully resolved, and the topic is now closed for further responses