How to Easily Create a Multilingual WordPress Site
Would you like to translate your WordPress site in various language? Thinking where to begin?
No, you do not need to set up a multi-site or have separate WordPress installs for each language. You will be able to easily translate your WordPress posts, pages, tags, categories, and themes into as many languages as you like.
Making a Multilingual WordPress Website (Human Translation)
From the outset, I am going to share you completely customize your theme for using multilingual language easily. …
Write or copy simple below that code and paste in your theme functions.php file …
add_action('after_setup_theme', 'my_embassytheme_multilingualsetup');
function my_embassytheme_multilingualsetup(){
load_theme_textdomain('ezbing', get_template_directory() . '/languages');
}
Then you edit your all text in functions.php and other pages look like …
In function page :
Previous code 'name' => 'Default Sidebar',,
Edited code 'name' => __( 'Default Sidebar', 'ezbing' ),
In Others page :
Previous code Powered by
Edited code <?php _e('Powered by' , 'ezbing' ); ?>
After completing this your installs theme all pages then you use some plugin for language change option in admin panel. I have suggest some plugin that install very simply. But I like Polylang plugin.
You can download it form wordpress plugin page. ( totally free )
How to add Polylang Plugin – See Details Here
( If you can change your theme text in admin panel so you have to use some plugin such as Loco translate Plugin )