The LayerSlider plugin allows you to create sliders that can display images, videos, and posts. It features a multitude of animation effects and allows the layering of contents in each slide. The integration of LayerSlider with WPML allows the user to create and run multilingual sliders.
- Getting started
- WPML translation tools
- Creating the default language slider
- Translating the slider
- Translating LayerSlider texts
- Known issues with LayerSlider
- Getting help – WPML translation support forum.
If you are a developer, ensure that the LayerSlider, plugin is activated.
To get started, make sure that the following plugins are activated: WPML Multilingual CMS, WPML String Translation, WPML Translation Management, and WPML Media Translation plugins.
If you own a website and are working with a developer, please ask for the developer’s assistance in managing these settings.
WPML offers two translation editors you can use for translating your site’s content:
- WPML classic translation editor (CTE).
- WPML Advanced Translation Editor (ATE) offers affordable automatic translation, a glossary, spell checker, and more!
Besides translating your site content yourself, you can also:
- Send your content for translation to a professional translation service.
- Create your own team of local translators from the Translation Roles tab in Translation Management and assign translation jobs to them.
This example demonstrates the steps for creating a simple slider:
- From the WordPress dashboard navigate to LayerSlider WP → Options and then click on Add New Slider.
- Fill in the slider name and then click on the Add slider
- Click on the SLIDES In the section titled Slide Background Image, click on the CLICK TO SET button to add an image to your slide.
- Choose the image that you want to add as a slider background and then click on the Insert
- Scroll to the Content tab and click on the Text button for adding text to the slide. After adding the text, click on the Save changes
- Click on the “+” icon for adding more slides to your slider.
- Add the slider to your desired page. In this example, for the purpose of demonstration, a new page has been created and the slider has been added to it. Remember to update the page after adding the slider.
The figure below depicts the slider being displayed on the front end.
To translate the text written on the slides, follow these steps:
- From your WordPress dashboard, navigate to WPML → String Translation. Choose the LayerSlider Sliders text domain from the drop-down menu titled Select strings within domain. A list can then be seen with all the texts that you added to the slides.
- Click on the translations link and then add your translated text. Check the Translation is complete option and click on the Save
- To display the translated slider on the front end, translate the page that includes the slider by clicking on the plus icon in the Language box.
The figure below depicts the translated slider being displayed on the front end.
Besides contents coming from posts and pages on your site, there are usually some texts coming from other places. Most common examples are themes and plugins.
To learn how to translate these texts, read our documentation page about translating strings.
In case you need help translating your site built using LayerSlider and WPML, visit WPML’s support forum.