This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with translating the base of the permalink structure in a multilingual WordPress site using WPML. They have set up a custom permalink structure as /wiedza/%category%/%postname% and translated it to /knowledge/%category%/%postname% for English. However, the posts in English still show the original structure with /wiedza/ instead of /knowledge/.
Solution:
We explained that this issue arises due to a known limitation with WordPress and multilingual plugins like WPML, where WordPress treats parts of the permalink structure as static strings. While WPML can translate slugs for categories and posts, it struggles with dynamic translation of the base part of the URL (like /wiedza/) when it's part of a complex custom structure. Unfortunately, there is no direct solution within WPML to dynamically change the base of the URL based on the language setting.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your specific 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 do not hesitate to open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.