1. Home
  2. Documentation
  3. Posts Table Pro
  4. Advanced Usage
  5. Using WPML to translate Posts Table Pro

Using WPML to translate Posts Table Pro

WordPress table plugin WPML compatiblePosts Table Pro is a WordPress table plugin that allows you to create searchable tables of your WordPress posts, pages and any custom post type. It is officially certified as being WPML compatible. This means that you can use the world leading WPML multilingual plugin to translate your tables into different languages.

Note: Posts Table Pro also comes with several built-in languages which you can use without needing a separate multilingual plugin. Please see our article on translating Posts Table Pro.

What you will need

  • Posts Table Pro plugin (version 2.0.3 or above)
  • A recent version of WPML (version 3.5.3.1 or above)

Getting started and what to check

Is your site already configured by your developer?
Please make sure the following plugins and options are activated.

Are you setting up WPML yourself?
Follow the steps below:

  • Set up WPML from WPML -> Languages. See the WPML Getting Started Guide for a complete reference. 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.)
  • Install and activate the core WPML plugin (WPML Multilingual CMS) first, followed by the other WPML plugins listed above.

Translating your posts

  1. Use WPML to add translations for all the posts/pages/custom posts that you wish to list in a table using Posts Table Pro.

Translating Posts Table Pro

Install Posts Tale Pro and create one or more tables. Make sure you have translated all your posts/pages/custom posts using the instructions in the previous section.

The next step depends on whether you’re using one of the languages where translations are provided with Posts Table Pro. You can see the list of included languages at: https://barn2.co.uk/kb/translating-posts-table.

  • Included languages – Select your language under Settings > General in the WordPress dashboard, and the product table will automatically show in the correct language. In WPML > Theme and plugins localization, select either ‘Translate themes and plugins using WPML’s String Translation and always load .mo files as backup’ or ‘Don’t use String Translation to translate themes and plugins’.
  • Other languages – Use one of these methods to translate the product table:
    • Use WPML’s string translation to find the strings that need translating and add the translations via WPML. In WPML > Theme and plugins localization, select either ‘Translate themes and plugins using WPML’s String Translation only (don’t load .mo files)’ or ‘Translate themes and plugins using WPML’s String Translation and always load .mo files as backup’.
    • Create your own .po and .mo files and upload them to the site. In WPML > Theme and plugins localization, select either ‘Translate themes and plugins using WPML’s String Translation and always load .mo files as backup’ or ‘ Don’t use String Translation to translate themes and plugins’.

When you set up your post tables, DO NOT enable the caching option. This ensures that the table is loaded with the correct language posts for each user, and users are not shown a cached version of the wrong language.

Was this article helpful?

Related Articles