[Resolved] Translated Pages Not Following Default Format
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is developing a site and encountering issues with WPML translations: 1. URLs are automatically translated and not just adding the language code. 2. Translated pages do not follow the customized template and revert to the default template. 3. Links on the 'profile page' redirect to the default language instead of the translated 'member page'. Solution: 1. To prevent WPML from automatically translating slugs based on the page title, deactivate the relevant option in WPML settings. For detailed guidance, refer to this documentation. 2. Templates are usually saved in a custom field within the page. Set the custom field to 'Copy' or 'Copy once' to ensure templates follow through in translations. More information can be found here: this documentation. 3. For translating links, if they belong to a custom post type, WPML will automatically handle the translation. Adjust link translation settings under WPML -> Settings. Manual link translation can also be done during page translation, as detailed here: this guide.
If these solutions do not resolve your issues or seem outdated, please check related known issues at https://wpml.org/known-issues/, verify you have the latest versions of themes and plugins, and consider opening a new support ticket for further assistance 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.
Background of the issue:
I am developing a site and trying to translate two pages using WPML: a 'group profile' page with buttons linking to each 'member profile', and a 'member profile' page.
Symptoms:
1. URL was automatically translated. Original: hidden link Expected: hidden link Output: hidden link 2. Translated pages do not follow the customized template and revert to the default template. 3. Links on the 'profile page' redirect to the default language instead of the translated 'member page'.
Questions:
How can I ensure the URL only adds the language code without translating the rest?
How do I make translated pages follow the customized template?
How can I ensure links follow the current language setting?
2.- Usually templates are saved in a custom field within the page. I recommend you to read this documentation: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/ where it explains how to identify the custom field and configure it correctly. In your case, you must set the custom field to 'Copy' or 'Copy once'
3.- If the links belong to a WordPress user profile, you can't translate them. But if the links are for a custom post type then WPML will automatically translate them. You must go to WPML -> Settings -> Adjust link translation, click on the button, and wait until the process finishes.
Problem 2
I set anything that could be set as Copy yet after I finished a new translation the slug still translates to Japanese and the template does not follow the actual page template.
Also I scheduled a Zoom assistance session for GMT+7 20:00 but now 20:28 nobody attended. I am really disappointed.
Hello, I finally scheduled a Zoom meeting with Mihai Apetrei and was told to create separate tickets for the remaining issues. Basically these issues are kinda resolved but some bugs remain.