How can we help?

Multilingual Website Using WPML

One of the most powerful tools for translators, WPML is compliant with the WP Event Manager. WPML makes any regular WordPress website very easy to transform into a multilingual website. Choose from more than 40 languages, or build yours, with just a few clicks.

Certain crucial considerations are to make sure these plugins(WP Event Manager and WPML) operate well. Starting with, supposing you have already configured and activated the WP Event Manager plugin and proceeding to WPML installation.

WPML Installation

The first time you use WPML, you need to manually download it and install it.

  1. Download the main WPML components: WPML Multilingual CMS, String Translation, Translation Management, and Media Translation. You will receive a ZIP file for each one of WPML’s components.
  2. Log into your site and in the WordPress admin, go to the Plugins page and click Add New. On the Add Plugins page click Upload Plugin, select the ZIP files that you downloaded and click Install Now.

    Alternatively, if you cannot upload plugins directly to WordPress:

    I. Unzip each file. A directory will be created.

    II. Upload the unzipped directories to your site’s ../wp-content/plugins directory

  3. Go back to the Plugins page and enable the newly uploaded/added plugins.

Getting Started with WPML

  1. After installation of the WPML plugin, follow the initial setup wizard steps to set up the essential configuration settings by navigating to WP-admin >> WPML.
    Getting Started with WPML

  2. After the setup has been completed, under the WPML area of your WordPress dashboard(WP-admin >> WPML), you now have a new tab under the WPML section head.
  3. Navigate to the Settings page and make sure to select the Multilingual Content Setup tab.Content Setup with WPML
  4. Scroll down to the How to translate posts and pages section. You can select any one of the two options available, The classic editor, or the WPML’s Advanced Translation Editor.How to translate posts and pages with WPML

    We recommend using the Advance translation editor because it is more easier to use, vis-a-vis saves a lot more time.How to translate posts and pages with WPML 1

  5. Scroll down to the Slug translations section, check the Translate custom post and taxonomy base slugs (via WPML String Translation) box and click Save.
    WPML String Translation
  6. Scroll down to the bottom of the same tab to the Post Types Translation and Taxonomies Translation sections.
    Taxonomies Translation 1
    Taxonomies Translation 2
  7. The basic plugin setup is now complete! You are ready to start managing translations for your event.

How to translate pages, posts, and custom posts

In order to translate the page posts and custom posts, you can either translate them manually or use Translation Management.

Translation using Translation Management

WPML will guide you through a simple setup wizard if you are using WPML ‘s Translation Management.

  1. After the setup, you are directed to a Translation management dashboard, where you need to select the type of translation(page/post/block/template,etc)
    translate pages, posts, and custom posts
  2. Post which you can now select which page you want to translate, by check-marking on the box beside them.translate pages, posts, and custom posts 1
  3. After the pages or posts are selected, select the translation options you want them to translate in.
  4. After the options are selected, click on “Add selected content to translation basket”
    translate pages, posts, and custom posts 2

    Now go to translation basket and click on “Send all items for translation”

    translate pages, posts, and custom posts 3

  5. Your pages are now ready to be translated.

    In case if you want to manually translate the pages, you can read here: https://wpml.org/documentation/getting-started-guide/

    In order to translate the pages via Advance translation editor, please Proceed with the following steps:

  6. Now go to WPML >> Translation QueueTranslation Queue
  7. Here you get the list of all the pages, posts, and events, and you can now click upon any page you want to translate.list of all the pages, posts, and events
  8. You would be redirected Advance translation editor page.
  9. If you have an automatic translation tool, you can click upon the Translate automatically. The whole page get translated automatically with the help of machine translation.redirected Advance translation editor page
  10. However, you can also translate individually by clicking upon click to edit translation.
    automatic translation tool
  11. translate individually 2

  12. The whole Page would be broken down in the sentence format, which can be also edited and translated according to your needs.

    The major advantage of using the Advance translation editor is that you can focus on Test and all the Html markers are removed.

  13. When you are done, you can save it and hence the page gets translated.
    page gets translated

How to translate Custom Post Type(Organizer/Venue)

To be able to translate custom post types, one can do that automatically from the XML file. The language configuration file includes information so that each and every user doesn’t need to manually enter it on the admin page. The file is named wpml-config.xml and it’s placed in the root folder of the plugin or theme.

<custom-type display-as-translated="1" translate="1">event_organizer</custom-type>
<custom-type display-as-translated="1" translate="1">event_venue</custom-type>

You can read more on the language configuration file here: https://wpml.org/documentation/support/language-configuration-files/#custom-types

To be able to translate custom post types Manually, you need to set them as “translatable” in WPML.

  • Go to the WP-admin >> WPML >> Settings and scroll to the Post Types Translation section.
  • Here Select Organizer and venue and click on Translatable.
    translate Custom Post Type

Hence now you can either directly translate using the translate manager as they would now appear on the translation dashboard or Go to WP-admin >> event manager >> Organizer/venue and translate manually.
translate Custom Post Type 1
translate Custom Post Type 2

How to Translate Strings with WPML

  1. Navigate to Theme and Plugin Localization.
    Translate Strings with WPML
  2. Since the Wp-event manager already provides .mo files, you would see a notification tab that would state, WPML has detected changed or new MO files.
    WPML has detected changed or new MO files
  3. Click on this tab- WPML has detected changed or new MO files >> Wp event manager, and, scan for the Translations files.
    scan for the Translations files
  4. After the translations are completed, you need to go to String Translation( Wp-admin >> WPMl >> String translation)
    go to String Translation
  5. Here in the domain section mention the name of the plugin (Wp-event manager) and search for the terms you are looking to translate.
    go to String Translation wpml
  6. Let’s take an example, We search for “Choose a Category and hence all the source strings now appear on the screen, which you can now Translate. For this click on the plus sign, for the language, you want to translate, enter the translation, and press enter.
    String Translation wpml 1
    String Translation wpml 2
  7. The String is now translated on the frontend.
    String is now translated on the frontend

In order to translate Taxonomies, one can go through the doc: from here.

Was this article helpful?
How can we improve this article?
How Can We Improve This Article?
Quick Links