WordPress Multilingual (WPML) is a commercial plugin that adds various multilingual capabilities to WordPress.
Questions tagged [wpml]
414 questions
1
vote
1 answer
Home page is not translating into another language
I am using WPML plug-in for my WordPress website. My other pages are able to translate properly, but the home page is not translating.
I have my home page manually translated and published as well. When I click on the language selector on language…

Awais
- 11
- 3
1
vote
0 answers
Products redirect to proper translation but posts don't
I'm using WPML plugin in my ecommerce site which is created using Woocommerce, and I prepared my site in 2 languages: default language is fa and second language which is EN. In WPML settings language URL format is set on different languages in…

startToday
- 97
- 1
- 6
1
vote
0 answers
mysql INSERT by selecting with left join duplicate entry error
Hello I am trying to copy custom posts in wordpress with wpml
So I have 2 tables:
1: wp_icl_translations
2: wp_posts
wp_icl_translations has rows:
translation_id(primary), element_type , element_id, trid, language_code,…

Serij Fragio
- 11
- 5
1
vote
1 answer
Woocommerce filter returns variation attribute slug instead of value
I'm struggling to understand a weird thing in Woocommerce Flow. Recently i've installed WPML and Woocommerce Multilingual Plugin to my eshop and since then , the attribute slug is printed on new order confirmation email and on thank you page (…

sarakinos
- 666
- 11
- 28
1
vote
0 answers
WooCommerce / WPML - Translate Custom Price Message hook
I have created this function in WooCommerce that replaces the current price in with some proceeding text followed by the price. It works great.
However, we have two different languages setup in WPML and nothing shows up for either of these…

Alan Carr
- 322
- 2
- 9
- 25
1
vote
2 answers
Set custom post default language
Set custom post default language.
I created a custom post with pods and I have WPML plugin installed.
I want to show this custom post only in a language which is not the default one of the website so that the urls will be…

user1619177
- 145
- 9
1
vote
1 answer
Woocommerce: Losing currency in ajax call
I have a Woocommerce site that uses the Woocommerce Multilingual plugin from WPML to handle currencies. I am trying to get the cart amount in an AJAX-call, but I get wrong currency for some reason. If I use the same method (get_cart_subtotal) in a…

Nocklas
- 1,367
- 4
- 15
- 27
1
vote
0 answers
Can we create custom web services with support of WPML
I am creating custom web services using plugin json-api. I have created a custom plugin with support of json-api to get all data. I am creating these services for my Android and IOS app. Website is running in two language and also woocommerce…

anubhav
- 94
- 10
1
vote
1 answer
Home url for multilanguage logo
I use wpml translate plugin for my two language site and use this code to get different logo for each language version

Merkucio
- 175
- 1
- 4
- 19
1
vote
0 answers
AJAX + WMPL plugin + WOOCOMMERCE plugin. Can not translate the text in wordpress
I'm using WPML plugin and it works great in my theme except in an ajax.
This is my code:
ob_start();
wc_add_notice( __( 'Sorry, the total meals exceeds the limit.', 'woocommerce' ), "error" );
wc_get_template( 'content-subcription-plan.php'…

Duy Trần
- 204
- 3
- 15
1
vote
1 answer
My code breaks WooCommerce Multilingual Currency Switcher
WPML Woocommerce Multilingual does not support currency setting depending on user location, so we made our own code:
function geoIPLocator() {
global $woocommerce_wpml;
$currency='EUR';
$geo=new WC_Geolocation();
$geo->init();…

Michael
- 41
- 3
1
vote
1 answer
Translating ACF fields with WPML - only checkbox field values not showing up | WORDPRESS
I have used ACF fields and WPML to make multilingual website. Everything works okay (all the other acf fields are being correctly translated & shown), but checkbox field values are being displayed as just empty white area. It works OK on main…

Mes
- 34
- 4
1
vote
1 answer
How can I overwrite the function code of a WP plugin (WPML)?
I need help please overwritting a WPML function which outputs the rel-alternate-hreflang tag. Ideally you would provide me a function that I can place in my child themes function.php file.
I am using the popular WPML (WordPress Multi Language)…

KingRobb
- 11
- 2
1
vote
0 answers
Woocommerce Print Invoices & Packing lists, Currency-Switch malfunction
i'm using woocommerce and wpml for my web-shop and it works great. But i just installed the "Print Invoices & Packing lists" plugin to print invoices. But i have two issues with the plugin and the translation (or lack of it..)
The domain is detected…

Alexander Bjureberg
- 11
- 2
1
vote
1 answer
Wpml and Relevanssi - search results in default language only
I have multi-language web store and use WPML plugin with Relevanssi better search plugin together.
Relevanssi plugin has an option
Limit results to current language: If this option is checked,
Relevanssi will only return results in the…

Merkucio
- 175
- 1
- 4
- 19