Search Knowledge Base by Keyword
This KB documentation is using Advanced Search, Links Editor and Elegant Layouts add-ons.
-
Echo Knowledge Base
-
Add-ons
-
Access Manager
Setup WPML for Knowledge Base
5 out Of 5 Stars
1 rating
| 5 Stars | 100% | |
| 4 Stars | 0% | |
| 3 Stars | 0% | |
| 2 Stars | 0% | |
| 1 Stars | 0% |
Introduction
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.
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:
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.
Step by Step Instructions
Step 1 Enable Polylang or WPML in the Echo Knowledge Base
Before configuring your multilingual setup, be sure to enable the "Polylang and WPML" setting in the Knowledge Base (KB). Once the setting is enabled, you can proceed with the rest of your multilingual configuration.
How to Enable Polylang / WPML:
- Go to KB Configurations.
- Click on the Tools tab.
- Select the Other tab.
- Enable the Polylang and WPML. setting.
Step 2 WPML Setup Wizard
To set up WPML on your site for multilingual functionality, follow these steps, please see WPML documentation: Click here.
Step 3 Creating a French Version of the Knowledge Base Main Page
Step 4 Translate all Categories and Tags
Translate all English categories into French:
- Go to WPML → Translations → Taxonomy in your WordPress dashboard.
- From the dropdown menu, select Categories. Verify that these categories match the ones in your knowledge base. If they don’t, choose the correct option from the list.
- Next to each category, click the plus (+) icon to create its French translation.
Note: The same steps above are for tags.
Step 5 Translate All Articles
Step 6 Main Page - Slug Translation
Update the main page URL slug of your Knowledge Base in WPML:
- Go to WPML → Settings.
- Open Post Types Translation. Find your Knowledge Base post type, which shows its slug in parentheses, for example (epkb_post_type_1). Click Set different slugs in different languages and enter the slug for each additional language.
- Click Save to finalize your changes.
WPML → Settings → Post Types Translation, with the slug link under a custom post type
Step 7 Categories / Tags - Slug Translation
Update your Knowledge Base Category URL slug in WPML:
- Go to WPML → Settings.
- Open Taxonomy Translation and locate the knowledge base category, which typically appears as (epkb_post_type_1_category). Click Set different slugs in different languages. Update the slug for each of your other languages, ensuring they follow the same format as the original. For example, if your main page slug is followed by the category slug in the default language, the translated slugs should mirror this structure.
- Click Save to confirm your changes.
Note: Follow similar steps above for Tags
WPML → Settings → Taxonomy Translation
Main Page String Translation - Blocks
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.
Main Page String Translation - Shortcode
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.
Step 1 Scan for Strings
To make Knowledge Base strings available for translation, scan the plugin using WPML.
Go to WPML → Translations → Strings → Admin Texts Translation.
At the bottom of the page, expand Not seeing an admin text you need?
Select Knowledge Base for Documents and FAQs.
Run the scan to register the plugin's strings for translation.
For additional information, see WPML's documentation on finding missing strings.
Step 2 Main Page String Translation - Search Box
To translate the text displayed in the Knowledge Base search box:
Go to WPML → Translations → Strings.
Search for the Knowledge Base strings listed below.
Enter the appropriate translations for each language.
Save your changes.
Main Page Search String Translations
search_results_msgsearch_button_namesearch_box_hintsearch_title
Article Page Search String Translations
article_search_results_msgarticle_search_button_namearticle_search_box_hintarticle_search_title
Other Elements: Go to WPML → Translations → Strings.
For additional information, see Translating strings: https://wpml.org/documentation/translating-your-contents/strings/
FAQs Translation
FAQ groups and FAQ questions are fully translatable with WPML, so you only need one FAQ group and one shortcode for all languages.
1. Create the FAQ group and questions in your default language
Go to Knowledge Base → FAQs, create your FAQ group and add its questions as usual.
2. Translate the FAQ group
Go to WPML → Translations → Taxonomy and choose KB FAQ Groups from the dropdown. Click the + icon next to your group for each language, enter the translated name (and optionally slug/description) and click Save. WPML links the translation to the original group.
3. Translate the questions
Go to WPML → Translations, expand Knowledge Base FAQs, select the question(s), and translate them (Translate myself / automatic / Duplicate). When translated through WPML, the question is assigned to the translated FAQ group automatically.
4. Add the shortcode once
Insert the FAQs shortcode (using the ID of your default-language group) below the KB shortcode on your KB page, then translate the page with WPML. The same shortcode shows the English group on the English page and the French group on the French page — no need to change the ID per language.
Notes
- The FAQs admin screen follows the WPML language switcher in the admin bar: it lists the groups of the selected language, or all groups when “All languages” is selected. The questions list shows questions in every language.
- Questions are displayed according to the group they belong to, so make sure each translated question is assigned to the group of the same language.
- Groups created before WPML was installed may have no language and appear in every language. Assign a language via WPML (or the KB FAQ Groups term screen), then translate the group as in step 2.
- Creating a separate FAQ group per language and using a different
group_idsvalue on each translated page still works, if you prefer to manage languages independently.
Category Name in KB URL
If you enable the Category Name in KB URL option, update the corresponding URL slug translations in WPML to maintain a consistent URL structure across languages.
Go to WPML → Translations → Strings.
Locate the URL slug string labeled
URL slug: epkb_post_type_1.Update the translations to preserve the
/%category%placeholder in each language.Save your changes.
Important: Keep the /%category% placeholder unchanged in every translated URL structure so the Knowledge Base can correctly identify the category
Troubleshooting – read before submitting a ticket
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:
- Backup your database
- Install the WPML Troubleshooting plugin from WPML → Activate & Update. Then go to WPML → Support, open Fix Language Data and run Set language information.
Problem: Category Archive Page shows 404 or nothing found message.
Solution: Ensure that at least one published Knowledge Base article is assigned to the category. If the category is empty, assign an article and check the category archive again.
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 Knowledge Base frontend Editor -> Content tab (select the text on the screen right side and edit it in the left sidebar of the Editor).
5 out Of 5 Stars
1 rating
| 5 Stars | 100% | |
| 4 Stars | 0% | |
| 3 Stars | 0% | |
| 2 Stars | 0% | |
| 1 Stars | 0% |
