Print

Setup WPML for Knowledge Base

It is important to read the following instructions carefully and complete each step. If you encounter any issues, refer to the troubleshooting tips at the end of this article.

Please Note:

Ensure that you have the latest version of the WPML software installed.

Note: If you have questions about WPML options or encounter errors with WPML plugin please contact their support team. If you have questions or need help with WPML related to KB and its articles and categories, please contact KB support.

For more details on individual functions for WPML and configurations beyond the Knowledge Base, see WPML help:

Warning:

WPML offers many ways to setup a multilingual site. Some configuration options might not work with Echo KB and will not be supported. However, the following configuration has been tested successfully.

Access Manager Not Supported
Note that Access Manager does not support WPML.

If you are using the KB Main Page blocks, you must edit each KB Main Page individually to set the block text to specific language. There is no need to use WPML string translations for this process.

If you are using the KB Main Page shortcode [ epkb-knowledge-base id=1 ] for your main page, these instructions will show you how to translate the associated strings.

The Knowledge Base (KB) configuration does not currently support managing FAQs for multiple languages within a single FAQ group. As a workaround, create a separate FAQ group for each language and note the group’s unique ID. Then, include the ID for the relevant language’s FAQ group in the shortcode. Finally, place this FAQ shortcode below the main KB shortcode on your page to properly display the FAQ.

  1. French Group Created
  2. English Group Created
  3. FAQs Shortcode with ID to display FAQs groups
Screenshot of separate FAQ groups for each language with the corresponding shortcodes."
Click to Zoom

Above is an example of the KB main page in both English and French, with the FAQ shortcodes displayed beneath each main page.

Click to Zoom

If you choose to enable the “Category Name in KB URL” option, you will need to update the relevant string translations in WPML to reflect this change. Please follow these steps:

  1. Navigate to WPML → String Translation.
  2. Locate the URL slug labeled  URL slug: epkb_post_type_1.
  3. Update the string to match the original language’s structure, ensuring it includes /%category% in both instances. This ensures the KB URL structure remains consistent and fully localized for each language.
Screenshot showing the WPML String Translation page with a highlighted URL slug for epkb_post_type_1.
Click to Zoom

Problem: Category Archive Page shows 404 or nothing found message.

Solution: The category has no articles assigned to it. Assign article to the category or handle case where category has no articles assigned.

Problem: On the All Articles page, if you do not see any KB Articles or are missing KB Articles, you can try to refresh WPML tables.

Solution:

  1. Backup your database
  2. Go to WPML -> Support -> Troubleshooting Page -> click on button called “Set language information”.

Problem: Translations are not working.

Solution: Ensure that you have installed the latest version of WPML plugins.

Problem: Some strings, like those in the Search box, are in English rather than in my default language.

Solution: Ensure that your strings are in the default language in frontened Editor -> Content tab (select the text on the screen right side and edit it in the left sidebar of the Editor).

Problem: For users that did not log-in, the search in one language is not working.

Solution: If the search works for logged in users then enable the following option in WPML languages:

Was this article helpful?
5 out Of 5 Stars

1 rating

5 Stars 100%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?
Table of Contents