 jensS-38
|
BTW: I guess the search box is missing here.
|
jensS-38 |
I noticed that Kadence blocks like the kb-infobox are partially picked up by the Advanced Translation Editor.
In my case, the actual CTA button inside the infobox (e.g. "Jetzt BUCHEN!") is missing in the editor, even though other Kadence content is being translated.
Can you confirm if full support for internal content of Kadence InfoBox/CTA blocks (especially buttons) is implemented?
Or is there a recommended workaround to make such button labels translatable via ATE?
Link to this URL: versteckter Link
|
 jensS-38
|
Another issue:
I need to set the hreflang x-default tag to my English pages, but it's stuck on German (the site's default language, look here: versteckter Link or here: versteckter Link).
I have already tried:
The wpml_hreflang_tags filter hook does not work.
Deactivating my SEO plugin (Rank Math) and switching to a default theme (Twenty Twenty-Four) did not solve the issue. Caches were cleared.
How can I force x-default to point to the English version?
BTW: the issue with the translation of the Kadence boxes is solved with the help through this: https://wpml.org/forums/topic/patterns-kadence-info-block-text-not-translated-in-frontend/
Note: I find it totally incomprehensible that such efforts have to be made to implement Google's best practice!
|
 Lucas Vidal de Andrade
WPML-Unterstützer seit 11/2023
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Portugiesisch, Brasilien (Português )
Zeitzone:
America/Sao_Paulo (GMT-03:00)
|
Hello there,
George is off today and will be back on Monday, so I'll answer the questions you brought so far:
1. [...] if there are any best practices or recommendations from your side to optimize WPML’s performance, especially on larger sites like mine?
We have this comprehensive guide on website performance:
https://wpml.org/tutorials/2022/03/boosting-the-performance-of-your-multilingual-wordpress-site/
Of course performance depends on a series of factors, so anything beyond that should be analyzed and tested on your specific context;
2. BTW: I guess the search box is missing here.
The search box is precisely the field that contains "fluent". It's the field where you input the text, or part of the text, you want to look for.
3. I need to set the hreflang x-default tag to my English pages, but it's stuck on German [...]
This is expected. The x-default tag (as the name implies) indicates which is the default language for the page. It will always be your selected default language. You can of course change the default language of your website, but please note that this is a complex and fragile process (do not change your default language, without having a full website backup, under any circumstances).
|
 jensS-38
|
Thank you Lucas for you answers.
to 1. O.K. just "normal" things to speed up the site
to 2. yep. Got it. Maybe the UI is not really perfect for me...
to 3:
Yes you're right that this tag should indicate the default language which in my case is German. But it should also indicate for a visitor who is coming from Spain for example, that he or she should use the default page, which in this case is German instead of English. This confuses Google and I could run in some problems like duplicate content etc.
So therefore I have added the following code to my child-theme functions.php:
add_action('template_redirect', function () {
ob_start(function ($buffer) {
return preg_replace('/<link rel="alternate" hreflang="x-default"[^>]+>/i', '', $buffer);
});
});
This deleted the x-default tag and everybody is happy.
And now to my credits question: I have just translated 2 pages with the WMPL AI and noticed that this costs me almost 9000 credits. Hmmm.... I guess now I understand the business concept of you company 😉
|
 Marcel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Zeitzone:
Europe/Madrid (GMT+02:00)
|
Hallo Jens,
I have just translated 2 pages with the WMPL AI and noticed that this costs me almost 9000 credits. Hmmm.... I guess now I understand the business concept of you company 😉
Das wirkt in der Tat etwas viel. 9000 Credits entsprechen etwa 2250 Wörtern – also rund drei A4-Seiten voller Text.
Falls die sichtbare Seite weniger Inhalt hat, könnten zusätzliche Inhalte in Custom Fields oder versteckten Bereichen gespeichert sein. Bitte eröffne hierzu ein neues Ticket mit einem konkreten Beispiel, damit wir das im Detail prüfen können.
Dieses Ticket zur Sprachzuordnung markiere ich inzwischen als gelöst.
Viele Grüße
Marcel
|