Questions tagged [plugin-wpml]
WPML is a multilingual WordPress Plugin, questions about WPML are off-topic here and not in this stacks scope. WPML makes it easy to build multilingual sites and run them. It’s powerful enough for corporate sites, yet simple for blogs.
188
questions
1
vote
0
answers
19
views
How to Dynamically Change the author_base URL Slug by Language in WordPress?
I am working on a multilingual WordPress site using WPML and I am trying to adjust the author_base URL slug based on the user's language. My goal is to have different slugs for each supported language ...
0
votes
1
answer
16
views
WPML posts_joins on translated items
I found a way to filter the search query so it goes though the product_cat title and description to look for a term and then display all the connected product.
I am now looking for a way to make it ...
0
votes
1
answer
435
views
WPML – PHP Fatal error: Uncaught Error: Call to undefined function str_contains()
I am using PHP 7.4.33 and WPML auto updated itself and appears to be using str_contains() although the PHP version doesn't support it yet.
The error in the apache logs are:
[Thu Dec 14 14:33:03....
0
votes
0
answers
25
views
Handling gettext / string translation when WP is installed in subfolder
My setup
I have a custom PHP application that uses po/mo files in a locale directory to provide translations for the website strings. All works perfectly. I have Wordpress installed in a sub-directory ...
0
votes
1
answer
45
views
WPML is blocking WP core update
I am tryin to update the core of Wordpress to 6.2 from the site desktop for a company whose WPML contract has expired.
This is the error I get from WP:
"WPML String Translation is trying to write ...
1
vote
0
answers
25
views
Translate Woocommerce tab
I have added a new tab in Woocommerce but I can not find how to add translation to it (I am using WPML plugin)
do anyone has an idea how to deal with that?
I need translation of the content of title
...
0
votes
1
answer
85
views
How to find posts that are missing translation? (wpml)
I have a page with hundreds of posts that should all be available in two languages. In the admin area however I have differing post counts – so I guess some of the posts are not translated. Instead of ...
0
votes
1
answer
150
views
WPML Translate term meta not synced
If we have a term_meta named icon which gets an integer and is set to copy when you translate a term with this meta programmatically it won't get copied to the translated term.
$ok = ...
0
votes
0
answers
41
views
Many big issues in the website, WP_Debug not showing
I have this website https://itds.pl/ suddenly it started working really bad and I can't find the reason.
Website is Multi website system
Using WPML
Using ACF
Have two domains:
Main domain Eng and has ...
0
votes
1
answer
46
views
How to automatically translate plugin using translate.wordpress.org
Is there a way to automatically download translations for a plugin from translate.wordpress.org. I'm testing with WPML String Translation. The plugin has about 20 untranslated strings and I need a ...
1
vote
1
answer
54
views
Should I include colon in my msgid in PO file? [closed]
Which of the below is recommended when creating msgid a PO file?
msgid "Available Balance:"
or
msgid "Available Balance"
0
votes
0
answers
38
views
Page not visible in 'All pages' after being added through PHP
I'm adding some pages pragmatically as a subpage. This all works well on a test website in 1 locale. However, on the live website we have WPML with 2 locales. When adding them there, these pages DO ...
0
votes
0
answers
27
views
Line Breaks are stripped off when direction property is found
The line breaks are stripped off when the p tag has a dir attribute inserted, to explain further I'll list some examples.
Let's say we have 2 lines of text as following
<p>Text Paragraph Number ...
0
votes
1
answer
77
views
Why template_include filter does not work with WPML plugin?
I have some issue with WPML. I use two different product page fro the phisical product and for the video lessons. Now I added one more language to the project ussin WPML plugin. And It's okay but my ...
0
votes
0
answers
15
views
Translation of one of the languages is not displayed on the site
I use Upstore theme and the website has 2 languages (Estonian and Russian).
I translate some strings from WPML String translation from English to EST and RUS. But on the website only Russian ...