Problem:
The client is unable to locate and translate the text above the search box in the Kadence modal search box on their website.
Solution:
We advised the client that the text they are trying to translate is added through the theme's functions.php file and is not set up for translation by default.
To make this text translatable, they should replace the existing function in
functions.php
with the following code:
function kt_add_form_title( $form ) {
$content = '<div class="search-modal-content"><h5>' . __('What are you looking for?', 'your-text-domain') . '</h5></div>';
return $content . $form;
}
After updating the function, they should navigate to WPML->Themes and Plugin Localization to scan the theme and then translate the text using WPML's String Translation. For more details on theme internationalization, visit WordPress Theme Internationalization.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly 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 further assistance is needed, please open a new support ticket.
Problem: The client needs to modify the language URL format to include country codes like /ca/fr/ and /us/en/ in their WordPress site using WPML. They attempted to modify the
REQUEST_URI
in an init hook but were unable to change the permalink structure as desired. Solution: We informed the client that achieving this URL format with WPML directly is not possible without additional custom coding. Since this requires complex code and might cause side effects, we recommended hiring a WPML contractor for professional assistance. You can find a suitable contractor by visiting https://wpml.org/contractors/.
Please note that this solution might be outdated or not applicable to your specific case. If this does not resolve your issue, we highly 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 you still need assistance, please open a new support ticket at WPML support forum.
Problem: Der Kunde versuchte, die niederländische Version seiner Website automatisch zu übersetzen, stieß jedoch auf Probleme, da die Seite leer blieb und nicht übersetzt wurde. Zudem gab es Schwierigkeiten bei der Übersetzung des LayerSliders und eines externen Buchungswidgets. Solution: 1. Wir empfahlen, das WordPress-Speicherlimit zu erhöhen, da das aktuelle Limit von 40M zu niedrig war. Dies kann durch Hinzufügen des folgenden Codes in der
Bitte beachten Sie, dass diese Lösungen möglicherweise veraltet oder nicht auf Ihr spezifisches Problem anwendbar sind. Wir empfehlen, die Seite mit bekannten Problemen (https://wpml.org/known-issues/) zu überprüfen, die Version der dauerhaften Lösung zu verifizieren und sicherzustellen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Sollten die Probleme weiterhin bestehen, eröffnen Sie bitte ein neues Support-Ticket im WPML-Support-Forum.
Problem: You are developing a site and need to add a custom currency or set different prices for different languages using the same currency. You found that the multi-currency plugin allows adding currencies like Solana or Bitcoin, and you are wondering if you can add your own custom currency to set different prices per currency. Solution: 1) Adding a custom currency is not a feature provided by WPML but by WooCommerce. You should add your custom currency to WooCommerce, and then you can use it in WPML/WCML. We recommend checking the WooCommerce developer documentation on how to add a custom currency symbol here: https://woocommerce.com/document/add-a-custom-currency-symbol/ 2) It is not possible to set different prices for different languages using the same currency in WPML. Each language version of a product is a translation of another, so the content and prices should remain consistent unless they are created as separate products.
If this solution does not apply to your case, or if it seems outdated, we highly 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 further assistance is needed, please open a new support ticket at WPML support forum.
Problem: The client has a large multilingual site with posts in English and Spanish, consolidated from four older sites. They are facing issues with hardcoded links in Spanish content not correctly reflecting the new site structure. Solution: We recommend updating the hardcoded links via the database (DB). This approach will not affect the page content as these links are embedded in post meta. Therefore, updating them directly in the DB or by re-translating the pages and the links within them is necessary. For dynamic links, such as menu items, these should adjust automatically when you modify your WPML language settings.
If this solution does not resolve your issue or seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket here.