Background of the issue:
I am working on a site under development and trying to use WPML to get translated URLs. I am using wpml_permalink in conjunction with wpml_object_id to ensure I get the translated post ID. I know many of the translated URLs were added manually.
Symptoms:
I am getting the untranslated /fr/in-english/ URL instead of the expected /fr/en-anglais/ URL.
Questions:
Are there any WPML settings that control whether the original or translated URL is returned by wpml_permalink?
Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.
Sorry for the late response because of the holidays and the high support load. It is not normal here. Thank you for your kind understanding.
If the problem remains, please share the code you are using for further checking. Hope you have added the custom code to the function.php file of the child theme (Hello Elementor Child).