I am trying to:
Translate the website in English with WPML plugin, when updating the translation with WPML only the checkbox is changed but in the view not. The text (many text) also could not be found with wpml String translation to translate. WPML support can not find the "problem" until now (8days) and hope you have the answer to fix this.
Some examples :
Field "Algemeen medewerker" (dutch) > english > "General employee"
Find in string translation hidden link and hidden link
I change this to Team Member
hidden link
hidden link
and see it is not changed hidden link in the view but only the checkbox is correct.
and so i have many "words" that are not available in the string translation of WPML.
- notary (notary was changed to Civil law notary) hidden link only the checkbox info is changed.
- the text "Meer info" does not exist in string translation used in the Templates View
Support from WMPL ticket is from 1 week and answered but until now they have no idea. Updated to new version toolset did not fix it (as they thought it would)
Do you have any idea what is going on?
Link to a page where the issue can be seen:
Dutch version: hidden link
English version: hidden link
I expected to see:
Updated info or able to translate the View section also
Instead, I got:
The "old" text or not able to translate with wpml
Hi, let's address the Team Member / General employee issue first. It's possible that the old checkbox text was stored with the post and needs to be updated in the database. Edit the post for Natasja Harms. Add a minor text change, then click "Update". Check the results on the front-end and see if the checkbox text now shows "Team Member" instead of "General Employee": hidden link
If so, then the most practical solution is to edit and resave each employee where the "General Employee" checkbox value was stored. If not, continue with these troubleshooting steps.
Please copy + paste the code from your View's Loop editor here in your next reply. If the View uses a Template in the Loop edit, please copy + paste the code from that template as well.
Next, please go to Toolset > Custom Fields and edit the field group that contains this checkbox field. Open the settings for this checkbox field, take a screenshot, and include it in your next reply.
Let me know the results and we can go from there.
Hi Christian,
Thanks for the quick reply.
I added text " test" updated and no change hidden link
View loop
<div class="werkn">
<div class="naam"><h4>[wpv-post-title]</h4></div>
<div class="img"><figure>[types field='foto-medewerker' title='[wpv-post-title] [types field="functie-olenz"][/types]' alt='[wpv-post-title]' size='full'][/types]</figure></div>
<div class="text">
<p><i class="fa fa-info-circle fa-2x"> [wpv-post-taxonomy type="category-vakgebieden"]</p>
<p><i class="fa fa-building-o fa-2x"> [types field="functie-olenz"][/types]</p>
<p><i class="fa fa-language fa-2x"> [types field="talen"][/types]</p>
<p><i class="fa fa-send-o fa-2x"> [types field="email"][/types]</p>
<p><i class="fa fa-phone fa-2x"> [types field='telefoon-nummer'][/types]</p>
<p><i class="fa fa-plus-circle fa-2x"> Meer info<p>
</div>
</div>
Screenshot
hidden link
Hi I edited the Elementor template here:
hidden link
I added the output='raw' attribute to the Types field shortcode:
[types field='functie-olenz' separator=',' output='raw'][/types]
Now the English post shows "Team member": hidden link
Then I edited the View here:
hidden link
I added the output="raw" attribute to the Types field shortcode:
[types field="functie-olenz" output="raw"][/types]
Now the English View shows "Team member" as well:
hidden link
Please review the Functie checkbox display and let me know if you see any outstanding issues. If not, we can move to the next problem.
Hi Christian,
Ok that works and also updated all other view info. Strange that it worked the first time, (make the translation) but do a correction in English does not work. But ok works now 🙂
Now I am trying to find hidden link the word "meer info" to translate. (WPML is searching for a week now) and have no idea
The string was not registered for translation. I wrapped the string in a wpml-string shortcode, and now you can translate the string in WPML String Translation under the domain "wpml-shortcode". See the attachment.
<p><i class="fa fa-plus-circle fa-2x"><a href="[wpv-post-url]"> [wpml-string]Meer info[/wpml-string]</a><p>
More information about translating your site's contents:
https://toolset.com/documentation/translating-sites-built-with-toolset/
https://toolset.com/documentation/translating-sites-built-with-toolset/wpml-string-shortcode/
My issue is resolved now. Thank you!