Setup a theme with WPML

We will use our theme Cheope as example for this topic.

This guide is not valid for Maya, Sommerce, Suerte, Bolder, Meménto, Impero, Beauty & Clean, Di'verso, Sheeva, Samarcanda and Kassyopea.

 


 

Go to WPML -> Translation options, then set "Do nothing" for Custom Posts Accordions,SlidersPortfoliosFeaturestabContactform and "Translate" for Custom Posts TestimonialFaq,Logos and the Custom taxonomies Categories Faq.

immagine1.jpg

Enable translation for the other Custom Post and Custom Taxonomies you need to translate (E.g. Product, Variations, Tags).

In Cheope > Theme Options there are some texts customizable.
Type the main language text in the Theme Options Field, then go to WPML -> String Translation to translate this text and filter the "admin_texts_theme_stendhal". Click on "translation", type your translated text, enable "Translation is complete" and click save. This procedure must be repeat for all language.

immagine2.jpg

How to create a page with slider

Create one slider for each language. (separately, Slider -> Add New)
E.g. "Elastic Eng" for english version and "Elastic Ita" for the italian version

Create a new page for the main language and set the slider in header or insert by shortcode and publish.

[slider name="elastic-eng" align="" ]


Click on plus icon near the language, on the right side, in the Language box, and create the page for the other language. Now set the slider (for this language) in header or insert by shortcode and publish . (don't use "duplicate" otherwise the pages show the same slider).

immagine3.jpg

[slider name="elastic-ita" align="" ]

How to create a page with portfolio

Create one portfolio for each language. (separately, Portfolios -> Add New)
E.g. "Portoflio Eng" for english version and "Portfolio Ita" for the italian version

Create a new page for the main language and insert by shortcode and publish.

[portfolio name="portfolio-eng"]

Click on plus icon near the language, on the right side, in the Language box, and create the page for the other language. Now set the slider (for this language) insert by shortcode and publish.

[portfolio name="portfolio-ita"]

How to create a page with Team

Create one Team for each language. (separately, Team -> Add New)
E.g. "Team Eng" for english version and "Team Ita" for the italian version

Create a new page for the main language and insert by shortcode and publish.

[team name="team-eng" ]


Click on plus icon near the language, on the right side, in the Language box, and create the page for the other language. Now insert by shortcode and publish.

[team name="team-ita" ]

How to create a page with Testimonials

Make sure you have enabled translation for Testimonials in WPML -> Translation options.
Click on Testimonials -> Add new Testimonial
Write the testimonial in main language and publish.
Click on plus icon near the language, on the right side, in the Language box, and create new testimonial (the traduction for this language). Repeat for all language.

Create a new page for the main language, then insert the testimonials shortcode and publish.

Click on plus icon near the language, on the right side, in the Language box, and create the page for the other language. Now insert the testimonials shortcode and publish.

How to create Faq

Make sure you have enabled translation for Faq and Faq Category in WPML -> Translation options.
First of all, create the category for all language. Go to Faq -> Categories Faq and create the category for main language. Then change the language and create the translation for all language

immagine4.jpg

 

Create the faq in Faq -> Add New Faq

Write the Faq in main language and publish.
Click on plus icon near the language, on the right side, in the Language box, and create new Faq (the traduction for this language). Repeat for all language.

Create a new page for the main language, then insert the Faq shortcode and publish.

E.g. plus icon near the language, on the right side, in the Language box, and create the page for the other language. Now insert the Faq shortcode and publish.

How to create a page with Features Tab

Create one Features Tab for each language. (separately, Features Tabs -> Add New)
E.g. "Tabs Eng" for english version and "Tabs Ita" for the italian version

Create a new page for the main language and insert by shortcode and publish.

[features_tab name="tabs-eng" ]


Click on plus icon near the language, on the right side, in the Language box, and create the page for the other language. Now insert by shortcode and publish.

[features_tab name="tabs-ita" ]

How to create a page with Contact Form

Create one Contact Form for each language. (separately, Contact Forms -> Add New)
E.g. "Contact" for english version and "Contatti" for the italian version

Create a new page for the main language and insert by shortcode and publish.

[contact_form name="contact" ]

Click on plus icon near the language, on the right side, in the Language box, and create the page for the other language. Now insert by shortcode and publish.

[contact_form name="contatti" ]

How to create Logos

Make sure you have enabled translation for Logos in WPML -> Translation options.
Create the logo in Logos -> Add New Logo

Write the Logo in main language and publish.
Click on plus icon near the language, on the right side, in the Language box, and create new Logo (the traduction for this language). Repeat for all language.

Create a new page for the main language, then insert the Logo Slider shortcode and publish.

[logos_slider title="" items="-1" height="50" speed="500" ]


Click on plus icon near the language, on the right side, in the Language box, and create the page for the other language. Now insert the Logo Slider shortcode and publish.

How to use Multilinguage Products

Make sure you have enabled translation for Products and Product Categories in WPML -> Translation options.
First of all, create the category for all language. Go to Products -> Categories and create the category for main language. Then change the language and create the translation for all language

immagine6.jpg

Create the Product in Product -> Add Product

Write the Product in main language and publish.
Click on plus icon near the language, on the right side, in the Language box (do not use duplicate), and create new Product (the traduction for this language). Repeat for all language.

You need to translate all woo commerce page (shop, checkout, ...)

The whole tutorial is explained for new contents created using "Add New" button. The same steps can be replicated also for existing contents.

Was this article helpful?
3 out of 3 found this helpful

Back to Help Center

Powered by Zendesk