WordPress Multilingual (WPML) is a commercial plugin that adds various multilingual capabilities to WordPress.
Questions tagged [wpml]
414 questions
2
votes
1 answer
Get post ID of the original version in WPML
I have a website using WooCommerce in the Slovenian language that is being translated with WPML into multiple languages and English will become the default one.
Products were all set in Slovenian language and use a custom field (ACF) for an image.…

jstneti
- 21
- 6
2
votes
0 answers
Access a multilingual WordPress blog from multiple directories
I need to access my multi-language blog on WordPress from different directories.
My landing page is placed in this way:
example.com => English
example.com/es => Spanish
I installed my blog in the directory blog, and I installed a WPML plugin to…

Maciej
- 76
- 9
2
votes
0 answers
Wordpress / WPML Sync Taxonomy Programmatically
I'm working on a property feed importer for a website I'm having some trouble getting the Taxonomy to synchronize correctly.
This is the code to add the translations
foreach($languages as $lang => $data){
$translation = 0;
$trans_arr =…

Jasper B
- 851
- 4
- 13
2
votes
1 answer
How can i translate html text that in javascript using WPML
The issues are:
i want to translate words that are in javascript .i am using WPML plugin in wordpress. text within HTML tags are not showing in WPML strings
let html = `

Abdul Rehman
- 119
- 1
- 1
- 7
2
votes
1 answer
ACF choices to register in WPML
As WPML does not provide a solution to translate [choices] fields I would like to add a custom function to register it within WPML, however I am not a star in php, but I have below but it doesn't register it in WPML String Translation:
$field =…

Demian
- 536
- 5
- 26
2
votes
1 answer
How do you get wp_terms in current language only?
I am working on a piece of code used to create a woocommerce product in 2 languages and I have managed to do that with the product itself although I am having a problem with the categories for the 2 languages.
$all_cats = get_terms(array(
…

vkal
- 51
- 10
2
votes
1 answer
How to config dockerized wordpress nginx that using 'different domain per language' of WPML?
Now here is a domain that cool.XXXXXX.com in use.
I want to show my Japanese version with domain called jp-cool.XXXXXX.com
I set the SSL with letencrypt
certbot certonly --standalone -d jp-cool.XXXXXX.com --staple-ocsp -m root@jp-cool.XXXXXX.com…

TropicsCold
- 115
- 6
2
votes
0 answers
Create product in second language with WPML and Woocommerce Rest API
I have an issue with creating a translation for a product by WooCommerce Rest API and WPML. the issue is my created translated product did not get linked to the original one. Let's say instead of creating translation for a product it will create a…

Adnan
- 814
- 12
- 38
2
votes
1 answer
Need to install WordPress Multisite in Subdomain
I have a CodeIgniter website in my server root directory. This website does have a lot of pages approx ~2M to ~2.5M pages with lots of other functionality. However; now I have developed one WordPress multisite for my home page and another 12 landing…

Ayan Sarkar
- 21
- 1
2
votes
0 answers
qTranslate Importer “Please save the qTranslate settings to the database first”
I'm developing multilingual site in Wordpress and Woocommerce, I have purchased WPML plugin because now I have qTranslate but it doesn't work correctly and it has no support.
I'm using qTranslate Importer plugin but this error is coming every time…

swifferina
- 293
- 4
- 16
2
votes
1 answer
Changing specific order details text in Woocommerce order received page
On the order-recieved page ('woocommerce_thankyou') there is a table with the order details a heading "Order Details" (Ordredetaljer in my native language).
I cannot figure out how to change this heading. I can't even find the source code for it…

Christian Påbøl Jacobsen
- 79
- 2
- 11
2
votes
0 answers
WPML changes WordPress language to default when redirecting from login page
I am building a bilingual website using WordPress and WPML(the translation plugin WPML), also to handle login and registration I used Theme my login, however since it's not compatible with WPML, I had to find an alternative (tried clean-login ) but…

Bialy
- 163
- 1
- 9
2
votes
0 answers
WPML + Custom Post Type Permalinks
I need to achieve to have custom permalink structure for CPT "products" and also have the rewrite slug translated.
Here is the situation. I translate the "products" slug with WPML, works fine. But when I activate, configure and flush the rewrite…

Erik Kubica
- 1,180
- 3
- 15
- 39
2
votes
2 answers
Determine language in functions.php [wpml]
I have function in functions.php , which automatically adds woocommerce product by ID to cart when website is visited.
The website is bilingual and the function can't determine translated product ID.
So, I want to know if is possible to add wpml…

Nick_n1
- 51
- 4
2
votes
1 answer
woocommerce category translation
I'm trying to create a web shop with WooCommerce and Polylang. When I click the '+' icon in a product category in order to translate it into French, I'm routed to a 'new category' form.
After I created the 'book' category in French ('libre'), I see…

xtofl
- 40,723
- 12
- 105
- 192