This thread is resolved. Here is a description of the problem and solution.
Problem: You are experiencing issues with string translations not appearing on the front end of your WordPress site using WPML, with Slovak as the primary language and Czech as another language version. English appears on the site despite not being a target language. Solution: First, ensure that the texts belonging to templates, such as headers, are translated through WPML > Translation Management, not through String Translation. This is because only global texts that don't belong to a page, post, product, or template should be translated in String Translation. For more details on translating templates and ensuring compatibility with Elementor, visit https://wpml.org/documentation/plugins-compatibility/elementor/. For widgets and other elements that should be translated via String Translation, you can change the source language of a string to Slovak in WPML > String Translations. Select the string using the checkbox, then find and click the button below the strings list to change its source language.
If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at our support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to resolve issues with string translations on my WordPress site using WPML. I have configured Slovak as the primary language and Czech as another language version for the website.
Symptoms:
When I update a string translation in the WPML String Translation interface, the translated version does not appear on the front end. Additionally, English appears on the site despite not being a target language.
Questions:
What might be causing the translated strings not to appear on the front end?
How can I ensure that only Slovak and Czech are displayed on the site, and English is removed?
Can you please share the link to a page, where I can see both the untranslated strings (please make it clear, as I don't speak neither Czech nor Slovak) and the strings that show in EN?
This way, I can better understand what might be happening on your website. Thank you.
website in slovak: hidden link
website in czech: hidden link
in the uploaded image both sites have same text which is in slovak
while in backend i added translation for it. and english is showing in backed where i add string translations
In neither of the links, I could find the string you shared on the screenshot. Check my request carefully: share the link to a page, where I can see both the untranslated strings and the strings that show in EN? Let me know if that's possible. I understand that the EN strings are showing in the back end only.
Also, I would like to look at this directly on your site. For this I would need temporary access (WP-Admin and FTP) to your site, preferably to a test/staging site where the problem has been replicated if possible.
The required fields can be found below the comments section. The information you enter is private, i.e. only you and I can see it and have access to it.
I may need to replicate your website locally. To do this, I need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your website. This will allow me to create a copy of your website and content. Once the issue is resolved, I will delete the local website. Let me know if this works for you.
IMPORTANT
Please make a backup copy of the site files and database before giving us access.
- If you do not see the wp-admin/FTP fields, this means your post and site login details are being made PUBLIC. DO NOT post your website details if you do not see the required wp-admin/FTP fields. If you do not, ask me to enable the private box. The private box looks like this:
I haven't been able to properly checkout your website, as the back end pages were loading indefinitely - I'm on high speed internet and tried on 2 different browsers. Nonetheless, I noticed that the text belongs to a header element, so it should be translated in WPML > Translation Management (if I'm not mistaken, the header is called 'nas team').
Let me explain: only global texts, that don't belong to a page, post, product, template, etc must be translated in String Translation. Since this text belongs to a template, it has to be translated as such.
main issue is that strings considered by wpml as english while actually they are in slovak and there are options for those texts to be tranlsated to slovak while they are already in slovak... mainly this issue is coming for widgets used and custom options not mainly for elementor as use referred to elementor . I have added images to look upon
As I said, the header texts should not be translated in String Translation. So the fact that they're registered in English shouldn't have any impact on the functioning of WPML.
Please make sure that you're translating your Elementor templates, posts and pages as recommended in the link I sent previously.
Now, widgets indeed are normally translated in String Translation, thanks for clarifying about that example. In this case, you can change the source language of a string in WPML > String Translations to Slovak. Simply select the string, using the checkbox, and find the button below the strings list to change its source language. Check the image attached.