WPML Multilingual Plugin Setup for WordPress

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1214
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    852
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    823
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    815

WPML Multilingual Plugin Setup for WordPress

WPML (WordPress Multilingual Plugin) is a paid plugin for creating multilingual WordPress sites. It is used on hundreds of thousands of sites and is de facto the standard for serious multilingual projects with WooCommerce support.

WPML Components

WPML consists of several plugins installed separately:

  • WPML Multilingual CMS — the core, without which nothing works
  • WPML String Translation — translation of theme strings, plugins, widgets
  • WPML Translation Management — translation workflows with translator assignment
  • WPML Media Translation — separate images for different languages
  • WooCommerce Multilingual — support for products, attributes, variations, cart

Minimum set: CMS + String Translation. For an online store, add WooCommerce Multilingual.

Language URL Structure

WPML supports three options:

1. Different subdomains:  ru.example.com / en.example.com
2. Subdirectories:        example.com/ru/ / example.com/en/
3. Different domains:     example.ru / example.com

Subdirectories are the most common option. Configured in WPML → Languages → Language URL format.

Creating Content Translations

Translations are created in two ways:

Manually: in the post editor, a "Translation" block appears with buttons for each language. Clicking "+" or a pencil opens the translation editor with the original and translation side by side.

Via Translation Management: posts are sent to a translation queue, assigned to translators (local or via WPML Translation Services), and returned with translations.

Translating Theme and Plugin Strings

WPML → Theme and Plugins Localization
→ Select theme → Scan for strings

After scanning, all strings appear in String Translation for manual translation or loading via .po/.mo files.

Strings with JavaScript insertion via wp_localize_script are scanned automatically starting with WPML 4.5.

WooCommerce Configuration

After installing WooCommerce Multilingual:

  1. WPML → WooCommerce Multilingual → Products — translate each product separately or synchronize fields
  2. Currencies — you can set different currencies for different languages (EUR for German, GBP for English)
  3. Shipping — shipping methods are translated separately

Translation mapping table: wpml_translations stores trid (translation group id), language_code, element_id (post_id), element_type (post/post_type).

Programmatic Access to Translations

// Get the translated post ID for a specific language
$translated_id = apply_filters( 'wpml_object_id', $original_post_id, 'post', true, 'en' );

// Get current language
$current_language = apply_filters( 'wpml_current_language', null );

// Switch language programmatically
do_action( 'wpml_switch_language', 'de' );
$german_posts = get_posts( [...] );
do_action( 'wpml_switch_language', null ); // restore

Field Synchronization

In WPML → Settings → Custom Fields Translation, you specify what happens to custom post fields when translating:

  • Copy — copy value to translation (for numeric fields, dates)
  • Copy once — copy only on initial translation creation
  • Translate — field is translated independently
  • Ignore — do not copy

ACF fields are determined automatically through integration with ACF.

Common Issues

Duplicate content in search — if the sitemap is generated by Yoast without considering languages. Solution: enable WPML support in Yoast in Yoast SEO → Integrations, or use WPML XML Sitemap.

Empty translations in REST API — when accessing /wp-json/wp/v2/posts, only posts from the current language are returned. To specify language explicitly: add parameter ?lang=en to the request (WPML adds this parameter).

Slow site — WPML adds a JOIN to each WP_Query. On large databases (10k+ posts, 3+ languages), this is noticeable. Solution: indexes on wpml_translations.trid, object caching (Redis/Memcached).

Timeline

Installation and language setup, translation of existing content up to 50 pages — 2–3 business days. WooCommerce store, custom post types, Translation Management setup with translators — 4–6 days.