[Resolved] How to create link to another language version of the site
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to generate a link in the Bangla version of a page that goes back to the English version, despite being able to link from the English to the Bangla version. Solution: We reviewed the settings and found that the issue was related to the configuration of the Page CPT > Post Types Translation. We adjusted this to 'Translatable - only show translated items' which resolved the issue. We recommend checking your WPML settings to ensure that 'Translatable - only show translated items' is selected for proper linking between translations.
If this solution does not apply to your case, or if it seems outdated, please visit our known issues page and verify that you have the latest versions of themes and plugins installed. If the issue persists, we highly recommend opening a new support ticket for further assistance. You can do so here: 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.
I have an English-langauge version of a page. I want to include a link to the Bangla-language version of the same page. Right now the English version succeeds in linking to the Bangla version, but I can't generate a link in the Bangla version that goes back to the English side.
Here is a link to a test page with the issue:
The English language version has no problem linking to the Bangla version: hidden link
But the link in the Bangla version fails: hidden link
You can see I've tried linking and also tried including the WPML Gutenberg language switcher block.
Both of these pages are test translation pages. If we can get the correct behavior on either page and be able to replicate it, then that would be good for us.
• The actual Bangla translation: hidden link
• Another page we tested as the Bangla translation: hidden link
I get what you mean now. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
I can't seem to replicate the issue on our sandbox site here hidden link on this page hidden link
Looks like the issue is isolated to your Website for some reason. Please allow me to escalate this to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.
This is fixed and could you please check? I've adjusted the Page CPT > Post Types Translation to Translatable - only show translated items here hidden link
Hi, thank you! I think this resolves it as much as we need.
- Bangla Page No 1 is reachable using the language selector.
- Bangla Page No 2 is reachable using the link.
This should do what we need.
Bangla Page 2: hidden link
Bangla Page 1: hidden link
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.