Problem: The client is building a headless application and needs REST API documentation for handling posts, custom posts, taxonomies, and custom taxonomies with language filtering.
Solution: If you're experiencing this, we recommend using the WordPress REST API to retrieve taxonomy terms. To get the list of terms for a taxonomy, use the following endpoint:
Please note that custom code is beyond our support policy. If you need further assistance with custom code, consider contacting one of our certified partners.
Problem: The client is experiencing a white screen after starting the Wizard for WooCommerce Multilingual. Solution: It might be a temporary glitch or browser specific issue as We were able to complete the WooCommerce Multilingual setup wizard without any issues.
Problem: The client installed the WPML plugin and noticed that the French version of their website displayed an unwanted sidebar on all pages. Solution: 1. We navigated to WPML >> Settings > Custom Fields Translation section. 2. We set the
"getcab_options"
field to
"Copy"
and pressed the save button. 3. Then re-saved the default language pages to apply the changes to the translated pages and it solved the issue.
Problem: If you're experiencing issues with your website appearing broken on Arabic pages, it's likely due to the theme styling not being properly configured for RTL (Right-to-Left) languages. Solution: We recommend checking the RTL styles of your theme. Typically, websites use a
style.css
file for LTR (Left-to-Right) languages and a
style-rtl.css
file for RTL languages. If the
style-rtl.css
is not properly set up, it can cause display issues on RTL language pages. You should reach out to your theme developer to address this issue or consider using a theme that supports RTL languages.
Problem: The client is experiencing an issue where pages are not being created after automatic translation is completed, despite settings being configured to publish directly without review. Solution: 1. We recommend checking WPML-> Translations to see if the page requires review or is in draft status. 2. Navigate to Pages-> All Pages, use the admin bar language switcher to switch the language, and verify if the page appears. 3. If the issue persists, follow these troubleshooting steps: - Go to WPML-> Support-> Troubleshooting. - Execute the troubleshooting functions one by one. For guidance, see this screenshot: https://prnt.sc/YNffOei_1v7i - After running the troubleshooting functions, attempt to translate the pages again. For more information on WPML troubleshooting, please refer to our guide: https://wpml.org/documentation/support/wpml-troubleshooting-options/
If this solution does not seem relevant to your situation, please do not hesitate to open a new support ticket with us for further assistance: Contact WPML Support
Problem: The client is experiencing an issue where the title of the cart on their website is not translating correctly using the Astra theme. The Swedish title 'Varukorg' is incorrectly set as the English translation in WPML. Solution: 1. To correct the source language of the string, follow the instructions in our guide on how to change the source language of strings: How to Change the Source Language of Strings. 2. After adjusting the source language, you can then add the correct English translation for the string. 3. If you prefer to translate the string automatically, select the string and send it for Automatic Translation. For more details on this process, please refer to our guide: Automatically Translate Strings with WPML.
If this solution does not seem relevant to your issue, please do not hesitate to open a new support ticket with us for further assistance: WPML Support Forum.
Problem: The client encountered a database error in WordPress after logging in, indicating an issue with some tables. The error was related to invalid data in a query, which included emojis or similar characters that the database character encoding might not support. Solution: We recommend editing the section titled "ACTIONS TO TAKE TO STAND OUT IN A SATURATED MARKET" and removing any emojis or similar characters, leaving only the text content. After making these changes, attempt to translate the content again. If the problem persists, we suggest looking at the solution provided in a similar support ticket:
Problem: The client is trying to retrieve the content of translated menus using
wp_get_nav_menu_object()
and
wp_get_nav_menu_items()
functions, but these functions are returning the content in the original language instead of the translated language.
Solution: We recommend updating WordPress and WPML plugins to the latest versions, ensuring to take a full backup of the website and database before doing so. For more information on handling translations, we suggest checking the following WPML coding API documentation:
hook to switch the language before retrieving the menu objects and items. Here is an example code snippet:
$my_current_lang = apply_filters( 'wpml_current_language', NULL );
// Switch to Italian (IT)
do_action( 'wpml_switch_language', "it" );
// Now retrieve the menu object and items in Italian
$menu = wp_get_nav_menu_object($menu->term_id);
$items = wp_get_nav_menu_items($menu->term_id, array('post_status' => 'any'));
// Switch back to the original language
do_action( 'wpml_switch_language', $my_current_lang );
If this solution does not seem relevant to your issue, please open a new support ticket at WPML Support Forum.
Problem: The client is unable to translate the footer part of their website using the 7 theme.
Solution: We recommend the following steps to translate the footer built with Widgets: 1. Navigate to WPML >> String Translation page. 2. Click on the Translate texts in admin screens link at the bottom of the page. 3. Search for the required string. 4. Select the string. 5. Click on the Add to String Translation button. 6. Click on the "Return to String Translation" link. 7. Add the translation from the WPML >> String Translation page.
For more details about translating texts in admin screens, please refer to our documentation:
Problem: The client was unable to translate the 'Icon and text' element on the contact page with the WPML Translation Editor. Solution: We added the following XML configuration to make the 'Icon and text' element compatible with the WPML Translation Editor:
Problem: The client is updating internal and external links in the English version of articles and is asking if there is a way for these links to automatically update in the Hebrew version to avoid double the work.
Solution: For external links, such as those pointing to
For internal links, WPML can automatically update them to point to the translated content. To enable this, navigate to
WPML > Settings > Translate Link Targets
and run the scan. Additionally, when there is new content with links that need updating, a small info box will appear at the top of the WPML > Settings page to notify you.
If this solution doesn't look relevant, please open a new support ticket in the WPML support forum.
Problem: The client wants to prevent translation links from appearing on widgets while allowing them above and below posts. Solution: First, we recommend navigating to WPML->Languages->Links to translation of posts and disabling the "Show links above or below posts, offering them in other languages" option if you want to hide the links globally. However, if you wish to hide the links only from the widgets, you should add custom CSS. Go to WPML->Languages->Language Switcher options->Additional CSS and insert the following code:
Problem: The client is experiencing an issue where they receive an error message 'Unable to load jobs' when trying to load waiting translations. This occurred after canceling a translation job and restoring a database backup. Solution: We resolved the issue by disabling the LiteSpeed cache for WordPress REST requests.
This page includes support tickets that are resolved and documented. Looking for tickets that are “in progress”? Visit the complete support tickets archive