ナビゲーションをスキップする
0

Translate Bridge theme with WPML

Introduction

Bridge is a simple and efficient multi-purpose theme that will allow you to create your ecommerce, blog or portfolio website. It provides 24 layout concepts and 100 unique demos, making it easy to build your next website.

Bridge’s integration with WPML allows you to translate all theme elements effortlessly.

Step by step instructions will be provided in this document on how to translate Bridge theme with WPML.

What you will need

  • Bridge theme (version 7.6 or above)
  • A recent version of WPML (version 3.3.6 or above), including the String Translation, Translation Management and Media translation add-ons.

Essential resources

Content

Getting started | Install and activate the Bridge theme, import content and set up WPML plugin

Translating pages, posts, custom post types and custom taxonomies | Translate pages, posts, portfolios/testimonials and portfolio categories/testimonial categories

Translating Qode sliders | Translate all the strings created by the Qode slider

Translating menus | Synchronize menus across languages and translate them

Translating theme text | Scan your theme for strings and get everything translated

Translating theme options | Translate all theme options

Getting started

These are the main steps you need to follow to get started:

  • Install the Bridge theme and activate it.
  • Install and activate the core WPML plugins (WPML Multilingual CMS, WPML String Translation, WPML Translation Management, WPML Media Translation), and other WPML plugins that may depend on them.
  • Set up WPML from WPML >> See our WPML Getting Started Guide for a complete reference, but the initial simple three-step setup is self-explanatory, asking you to choose your default language, a set of active languages, and a language selector. (For starters, choose the footer language selector, you can change this later.)

For this tutorial, we will use some of the sample content available in Bridge theme; you can import this content by following the below steps:

  1. Login to WordPress admin
  2. Go into admin panel > Qode Options > Qode Import.

import1

  1. Choose the demo site that you wish to import from using the dropdown menu. We will choose “Original”
  2. From the dropdown menu on the right, choose what type of content you would like to import. We will choose “All”. Note that if you wish to import media files (images, videos, sounds), check the “Import attachments” box.
  3. Click the “Import” button.

import2

Translating Bridge theme elements

Translating pages and posts

When you navigate to “Pages” in the WordPress dashboard you will see columns for each active language, with aimage4  icon to add translation. Check the illustration below.

add translation to page

Now you will be able to translate your page by setting the translated title and body and then clicking on the ‘Publish’ button.

copy content and overwrite content

Note that you can click on the ‘copy content from’ or ‘overwrite with content’ options found on the language meta box to the right.

The ‘copy content from’ option will automatically copy the content from the primary (default) language to the translated language, giving you the option to translate the copied content.

The ‘overwrite with content’ option will always set the translation of that page to be a duplicate of the original page (in the default language). You can disconnect the page to be translated independently by clicking on ‘ Translate independently’ found on the language meta box. Check the illustration below.

translate independently

Translating  the custom post “Portfolio”

Navigate to ‘Portfolio’ in your WordPress dashboard and click on the image4 icon to add the translation. Check the illustration below:

translate portfolio

Add the translated content.

Translating the custom post type “Testimonials”

The same steps followed in translating the custom post type “Portfolio” can be followed to translate the “Testimonials”.

Translating the custom taxonomy “Portfolio Categories”

  1. Go to WPML >> Taxonomy Translation
  2. Select “Portfolio Categories” from the Select the taxonomy to translate drop down menu.
  3. Click on the “translate” to add the custom taxonomy translation by filling the required fields and then “OK” as illustrated below.

translate portfolio categories

Translating the custom taxonomy “Testimonials Categories”

The same steps followed in translating the custom taxonomy “Portfolio Categories” can be followed to translate the “testimonials”.

Translating Qode sliders and slides

To translate slides, navigate to Qode slider >> slides. Now click on the  icon and simply fill in your translated text and publish, as shown in the illustrations below.

translate slide1

 

translate slide2

To translate the Qode slider follow the below steps:

  1. Navigate to Qoad Slider >> Slider
  2. Click on the created slider as shown in the illustration below.

choose the slider

  1. Click on the add button on the language section as shown below.

add translation for slider

  1. Fill the (Name, slug and description) with the translated content and click on the ‘Add new slider’ button, as shown in the illustration below.

add translated content to slider

With this, a duplicate slider is created with the translated content to the secondary language. You can choose to display the sliders created under the primary, secondary or all languages as shown in the illustration below:

slider languages

Translating menus

With WPML you can easily synchronize between your languages’ menus, for more information please check our full translating menus tutorial.

Translating theme text and other strings on your website

To translate the theme strings you will need to scan your theme for strings, as this will register the strings for translation on the string translation screen. (Find out more about Theme and Plugin Localization)

This can be be done by following the steps below:

  1. Go to WPML >> Theme and plugin localization
  2. Click on the “Scan the theme for strings” button, this will register the theme texts for translation on the string translation screen. Check the illustration below.

Scan theme for strings

  1. Now you can navigate to WPML >> String translation and filter the strings by “translation needed” to see which strings are missing translations, or select a specific text domain. You can also search for a specific string by typing it in the “search for:” field and then clicking the “search” button. Once you find your string, click on “translations” and add your translated text. Now choose the ‘Translation is complete’ option and click save. Check the illustration below.

add translation to string

Translating theme options

Translating theme options can be done by navigating to WPML >> String translation and selecting the (admin_texts_qode_options_proya) domain as shown in the illustration below.

translate theme options

Getting help

If you need help with using WPML with Bridge theme, please head over to our technical forum. Before posting about issues, we recommend that you review this quick checklist:

  1. Make sure you have the latest versions of the theme and of the WPML plugins, and that they are all activated. These include WPML Multilingual CMS, WPML String Translation and WPML Translation Management.
  2. The problem does not appear if the WPML plugins are deactivated, but it does appear when only the core WPML plugins are activated. In other words, try to make sure that it is an issue of compatibility between Bridge theme and WPML, since otherwise Bridge support is likely to be able to help you better.

Conclusion

Bridge theme has many elements, and all of them can be translated using WPML. You can translate pages, posts, menus, custom post types like (portfolios and testimonials), custom taxonomies like (Portfolio Categories and Testimonials Categories) and all the different theme elements found in Bridge.

How can we make WPML better for you?

Share your thoughts and comments about our plugin, documentation, or videos by booking a Zoom call with Agnes, our Client Advocate. Your feedback matters and helps us improve.

Book a call with Agnes