WordPress Multilingual (WPML) is a commercial plugin that adds various multilingual capabilities to WordPress.
Questions tagged [wpml]
414 questions
1
vote
0 answers
No WPML Language Switcher in menu of custom archive pages
I have some custom archive pages in my Avada child theme. I copied the Avada archive template files to my Avada Child and modified them to my needs. I haven’t changed the get_header part in the template files.
Now the problem is, that the WPML…

Hans Dampf
- 29
- 5
1
vote
0 answers
Connecting WPML-pages with Wordpress REST API
I can create pages in different languages with the wordpress rest-api. These are separate pages and they do not know that they are the translation of each other. So is it possible to connect them with een wordpress rest-api call?

Siebe
- 21
- 3
1
vote
1 answer
Wordpress WPML: setup menu language switcher doesn't work
I can't choose a menu in this list... Nothing doesn't take account. I tried all menus, the result is the same. Do you have an idea?

anthony
- 7,653
- 8
- 49
- 101
1
vote
0 answers
Language switch with gatsby and WPML
I've recently been trying to create a basic multilingual wordpress website using gatsby.
For now, I have been able to fetch my main page and its english translation, as follow :
{
"node": {
"wpml_translations": [
{
…

ArnaudV
- 342
- 2
- 9
1
vote
0 answers
Update mini cart in language change
I am facing an issue. When I am adding a product in the cart everythings works fine. But If I Change the language (wpml) when I already have some products in the cart, it doesnt translate the mini cart. If I add another product, in the new…

Bariock
- 51
- 7
1
vote
1 answer
Postname permalinks not working – all pages send to homepage
I have WordPress installed in a subfolder of my domain. I want to keep it there, so that it is accessible only through http://www.example.com/mywordpress.
I have an issue with permalinks. If I use postname permalinks, all my pages (with different…

cloudspotting
- 21
- 3
1
vote
0 answers
WPML show all blog posts by language
The WPML plugin offers translations to the blog posts in the languages set, but it does not offer an arranged way of displaying the blog posts. Currently i have 3 languages for my website EN, DE and FR. I need to display all the blog posts based on…

Silent Ace
- 23
- 3
1
vote
0 answers
How to add custom language to wpml_browser_redirect_params
I do not want the /zh-hans as a suffix of the translated Chinese pages of my website which is English by default.
So I added a custom language via WPML ->Languages->Edit languages and add a new custom language for Chinese. Added the desired…

Thijs
- 61
- 1
- 7
1
vote
1 answer
Can't display custom field from Wordpress REST API custom endpoint
I'm using the Wordpress Rest API to import content from a Wordpress website into a PHP application.
It's nothing complex, just a main page with the list of posts and the pages for individual posts.
I added some fields to the API response, in…

Carlo
- 4,016
- 7
- 44
- 65
1
vote
1 answer
switch footer in multi language site
I have a multilingual site and I have used WPML for this purpose. How can I use two different footers when changing the language? The footers are not designed with widgets and are separate pages.

elham rajai rad
- 33
- 7
1
vote
0 answers
Arabic is not typing as "right to left" when it's editing in WPBakery
When I am trying to edit and type text in WPBakery editor it's typing in the wrong direction. Arabic should be typed from right to left but it's typing from left to right. it's weird because everything is working fine except this issue.

Awais Asif
- 61
- 1
- 6
1
vote
0 answers
Hide product or variation if has a custom field
I need to be able to hide some products and / or variations in a Woocommerce with WPML only for some languages at certain times.
I tried everything, tried to disable the synchronization of the _stock_status that manages WPML but I have not been able…

Daniel Groba Vieitez
- 33
- 3
1
vote
1 answer
How to add a link to menu before WPML output?
I would like to add a link to a menu programatically. This is simplified version of my code and it works, but WPML adds its language selector on the last place. How can I add my link before WPML output?
$items is just a string with all…

Ivan Topić
- 3,064
- 6
- 34
- 47
1
vote
1 answer
Translating dynamic content which is pulled using Algolia in Javascript
I am pulling the categories from Algolia. I want those categories to be identified by WPML. But WPML doesn't identify the dynamic content. Can anyone help me how can I proceed with this?
Please find the code below which I want to translate.
This is…

Hilario Goes
- 433
- 5
- 15
1
vote
0 answers
WPML Redirect users based on wordpress profile settings
I am developing a WooCommerce wholesaler shop in 5 languages using WPML.
Our languages are:
Danish(main language)
German
English
Swedish
Norwegian
In our scenario, both Sweden + Norway have been translated into English. So we only have 3 languages…

Frederic
- 23
- 6