What is WPML?

WPML or the WordPress Multilingual Plugin allows running fully multilingual websites with WordPress making your life easier when translating pages, blog posts or even custom posts on any language (Left to Right or Right to Left directions). It is a premium plugin, which means that if you want to use it, you need to purchase it.

What is a Custom Post Type or CPT?

WordPress houses lots of different types of content and they are divided into something called Post Types. In WordPress there is a default set of post types, such as: pages, posts, media, attachments, revisions or custom menus; but sometimes site owners extends these functionalities to other custom post types.

For example let’s say that we create the Custom post type “Listings”. You can easily generate a custom post type code by using GenerateWP.

Now that we have a Custom Post type created, our main goal is to have each listing translated in multiple languages. By default if you try to translate the Posts or Pages, on a single page/post you will see this translation box on the right side of the editor:


But on custom post types, such as our given example “Listings”, the translation box is not visible on the right side of the page:


The solution is to access the WPML -> Settings -> Scroll down to Post Types Translation group -> Locate your Custom post type (in our case, Listings) and make sure that the radio button is set to “Translatable – use translation if available or fallback to default language” as seen below:


Now if you get back and edit the listing (custom post type) the translation box will be visible on the right side of the editor:


Final note: The current tutorial has been made directly on our Listings WordPress ThemeOklahoma. With over 100 sales in 2019, Oklahoma becomes a trusted Directory and Listings WordPress theme, made by our dedicated Development team. Make sure to check out our theme and if you like it you can purchase it.

Leave a comment