WordPress Glossary Plugin (CMTG) - WPML translation


Using WPML Plugin and WordPress Gloossary Plugin 

Back to User Guide

The WordPress Glossary plugin is capable of being fully multilingual with the WPML plugin. This allows websites with a non-English speaking audience to easily translate every aspect of their site and the WordPress Glossary plugin.


Getting Started with Tooltip and WPML

To create a multilingual glossary, you first need to install the latest version of WordPress Glossary plugin Pro+ or Ecommerce and the WPML plugin (Multilingual CMS including the String Translation Add-On).

You will need to enable the desired languages by going to WPML → Languages. Learn more about how to do this in the following video:

Update 2022

A few new updated and added features of the WPML plugin:

  • Users can now select the languages they want to translate their site into in the set up wizard during the configuration process. The languages can later be added or removed by going to WPML → Languages.
  • During the setup process, users can also decide between using Translate Some and Translate Everything, depending on if they want to control the content they translate or translate everything automatically.
  • Clicking the plus icon now takes you to the Advanced Translation Editor, where you can input your translations manually or translate automatically (if you have translation credits).

Learn more about how to get started with WPML plugin and about new features in the beginner’s guide

Once both plugins are installed, you can begin translating all aspects of the WordPress Glossary plugin to the desired language.


Necessary Settings

The integration requires two specific settings.

WordPress Glossary Plugin

Disable the option Enable Caching Mechanisms. Found in Admin Dashboard → CM Tooltip Glossary → Settings → General Settings tab → Performance & Debug section.

General settings - Wiki for WordPress
General settings

WPML

Mark the post type glossary as Translatable - use translation if available or fallback to default language.

Marking glossary post type as translatable - Wiki WordPress Plugin
Marking glossary post type as translatable

Adding Glossary Term Translations

After you set up site languages in WPML, you can start translating your glossary. To translate glossary terms into another language, go to the Glossary page under the CM Tooltip Glossary menu and click on the “+” next to a term.

Adding glossary term translations - WordPress as a Wiki
Adding glossary term translations

This will take you to a page where you can add a translation of the term and a translation of the term definition. This creates a unique URL containing the translated term. After saving this, a pencil icon will appear next to the term in the glossary index, indicating there is a translation. You can click on this icon to edit the term.

Adding translation - WordPress Internal Linking Plugin
Adding translation

On this page, you can change the parameters of the language translation.

Language translation parameters - WordPress Knowledge Base Plugin
Language translation parameters

Translating The Glossary Page Title

For a fully translated glossary, you will also need to provide a translation for the glossary page. To do this, go to Pages and find the glossary page. Next to the page name, there is another "+" where you can add a translation, just like the glossary terms.

Translating the glossary page title - Knowledge Base WordPress Plugin
Translating the glossary page title
Translating the glossary page title - Glossary Plugin WordPress
Translating the glossary page title

All you need to do is provide a translation for the page title, in this case, it is the French translation. The shortcode for the page stays the same.


Editing The Glossary Alphabet

The Glossary Index Page uses an alphabet to organize terms for easy browsing. If you're translating the glossary, you need to go to Glossary Index Page tab in the glossary plugin settings and edit the alphabet in the option Letters in alphabetic index.

Editing the glossary alphabet - Tooltip Plugin WordPress
Editing the glossary alphabet

String Translation

The WPML string translation feature allows you to translate all labels associated with the glossary plugin. To do this, make sure you have the WPML String Translation Add-On installed.

After setting up addinitional languages in WPML, a new menu item will appear - Theme and plugins localization, so navigate there.

Navigation to theme and plugins localization page - Tooltip WordPress Plugin
Navigation to theme and plugins localization page

In the table Strings in the plugins find and check CM Tooltip Glossary. Then click the button Scan selected plugins for strings. It is needed, so the plugin WPML could detect labels of WordPress Glossary plugin.

Scanning the glossary plugin for detecting labels - Wiki Plugin for WordPress
Scanning the glossary plugin for detecting labels

When the scanning is finished, you will see the results, how many labels were detected:

Scan results - Wiki for WordPress
Scan results

Then, go to the WPML plugin → String Translation in the dashboard. 

String translation - Wiki WordPress Plugin
String translation

Select cm-tooltip-glossary from the Select strings within domain dropdown. 

Choosing string in the glossary plugin - WordPress as a Wiki
Choosing string in the glossary plugin

This will display all strings associated with WordPress Glossary plugin. You can organize strings to see which are not yet translated. Next, you can go through and provide translations related to the plugin. 

Adding translations - WordPress Internal Linking Plugin
Adding translations

After adding a translation for each item you will see a message about the success, and the label which you translated will be marked differently:

Messages about added translation - WordPress Glossary Plugin
Messages about added translation

More information about the WordPress Glossary Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.