This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to implement a URL structure like site.com/fr/, site.com/jp/, etc., for different language directories using WPML on a WordPress site with a multi-domain setup. However, upon activation, the translated pages do not appear, and as a temporary measure, they are using the query string pattern.
Solution:
We recommend following these steps to resolve the issue:
1) Navigate to WPML >> Languages >> Language URL format.
2) Select the Different languages in directories option.
3) Save the changes.
4) Go to Settings >> Permalinks and re-save the settings.
5) Clear all types of caches.
For more information, please refer to our documentation on setting up language URL options: Language URL options documentation.
If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, please do not hesitate to open a new support ticket or visit our 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.
This topic is split from https://wpml.org/forums/topic/french-translation-keeps-loading-even-after-resigning-and-retrying/