Learn how to build any multilingual WordPress website using Salient theme and WPML. Salient is a multi-purpose theme that comes with many pre-built demo sites that are fully compatible with WPML.
Salient is a multipurpose theme that would fit any niche website you want to build! For illustration purposes, we have imported one of the Salient demo sites. This is the homepage. It has a menu on the top, a nice slider that has some text. The page content that includes a call to action section. and on the bottom of the page, we have our footer widget area.
Let’s jump to the WordPress admin to see how we can translate the different parts of this page.
First, you need to install and activate the Salient theme along with its required plugins. You also need to install and activate the WPML core plugins. In this tutorial, we are using WPML’s advanced translation editor which allows you to translate the content on your site automatically. To activate it, navigate to WPML ► Settings. Under the How to translate posts and pages section, choose to use the Advanced Translation Editor.
🔹Translating pages posts and custom post types
Now, let’s go ahead and translate our home page. Navigate to Pages ► All Pages. Here is our home page. Click the + icon under the language you want to translate your page into. This takes you to the Advanced Translation Editor screen. Click the Translate automatically button to add machine translation to the page. Review the translation and make sure it is accurate. Now, click Finish then Complete to publish the translation.
You can follow exactly the same steps to translate your posts and portfolio items.
🔹Translating Nectar sliders
Before displaying the translated page on the front-end, let’s go ahead and translate the homepage slider. Simply, go to Home Slider ► All Slides. As you can see our homepage slider contains 3 slides. Click the + icon to translate the slide. Again, this takes you to the Advanced Translation Editor. Add the translated content to the slide, save the translation, then set it to complete. Repeat the same steps to translate all the slides of the home page.
It is worthing mentioning that you can translate the Nectar sliders in a similar fashion.
Let’s check out the translated version of the homepage on the front-end. As you can see the slider text is translated along with the page content. Yet, the call to action section is not translated. Let’s sort that out!
🔹Translating theme options texts
You can set the default language call to action text by navigating to Salient ► Call to Action. Here you can set the call to action texts. And filter the list to show the strings under the (Admin Texts Salient Redux) text domain. Here are the strings that we want to translate. Click the translations link and add the translated content, then tick the translation is complete checkbox and save the translation. You can also send the strings to be translated by a local translator or a professional translation service by selecting the strings and adding them to the translation basket.
You can also translate the widgets from the String Translation screen. All the widget strings are registered under the (Widgets) text domain. Let’s go ahead and translate the footer widgets. Again, click the translations link, add the translated content, mark the translation as complete and save.
Let’s take a look at the page on the front-end. As you can see the Call to action and the footer widget is translated.
The last element that you want to translate on the page is the menu. Before we proceed with translating the menu, you need to make sure that all the pages and post that are included in the menu are translated. Navigate to WPML ► WP Menu Sync and click the Sync button. Choose all the menu items that you want to sync to the secondary language and hit the Apply changes button.
📝We have also prepared a written documentation that explains the workflow of translating Salient theme using WPML:
🔴Subscribe to our channel to see more videos to help you with your multilingual site. If you have any questions, comment below the video.
🔗Connect with us:
Fuente – Source
Build ANY Multilingual WordPress website using Salient and WPML
Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉