Buy B2BKing
$299 $199
WPML is a powerful translation plugin, ideal for translating your site into multiple languages and allowing customers to switch between them using a language switcher dropdown.
B2BKing has been tested by the WPML compatibility team and is listed in the WPML plugin directory: B2BKing on wpml.org.
Here's what you need to know when using B2BKing with WPML:
There are many guides available for WPML translation, and we recommend starting with the official guide: https://wpml.org/documentation/getting-started-guide/
For general translation of plugin texts, you can usually use WPML's String Translation: https://wpml.org/documentation/getting-started-guide/string-translation/
WPML also has a Multilingual module that allows WooCommerce product translation: https://wpml.org/documentation/related-projects/woocommerce-multilingual/
An important aspect of translating B2BKing with WPML is translating admin texts such as "Log in to view prices" or "Please login to access the B2B portal".
Since these texts are not regular strings but "admin texts" in WPML, they require a special approach. Here's how to do it:
Step 1) Go to WPML -> String Translation.
Step 2) Scroll to the bottom of the screen and click on "Translate texts in admin screens »".
Note: In newer WPML versions, this option is found on the same page by clicking on the following elements:
Step 3) Find the B2BKing texts, check the boxes, scroll to the bottom of the screen, and click Apply.
You should see the message "The selected strings can now be translated using the string translation screen."
Now you can see the strings in WPML -> String Translation (they appear with the prefix "admin_texts_"):
Step 4) You can now translate these as you normally would with WPML:
That's it!
If we check the front page in English, we will see it as follows:
If we switch to French, we will see it as follows:
Note: In the latest version of B2BKing / WPML, you may no longer see the "+" signs. Instead, you'll need to click on each field and then translate via the right-hand sidebar:
B2BKing Pro 5.6.80 and newer copies B2B prices to your translated products automatically. You don't need to configure anything in WPML for this.
When you set group prices, sale prices, tiered prices, or customer-specific prices on a product, B2BKing copies them to every translation of that product, including variations. This also works for products translated with WPML's Advanced Translation Editor. Product visibility settings for groups and users are copied the same way.
Always set B2B prices on the product in your original language. Changes made directly on a translated product can be overwritten the next time the original's prices are synced.
On versions older than 5.6.80, you can copy B2B prices to translations by setting the B2BKing product meta values to "Copy" under the WPML "Multilingual Content Setup" screen. If you already set this up, you can leave it as it is after updating.
You can do this for each product individually, or in WPML -> Settings:
These meta values contain information such as tiered pricing or group pricing, and by setting them to COPY, the values are automatically added to each translated post.
Specifically, the values that contain group and tiered prices have the following format:
"b2bking_regular_product_price_group_***"
"b2bking_sale_product_price_group_***"
"b2bking_product_pricetiers_group_***"
We also recommend enabling this checkbox to see these settings for each product: