This thread is resolved. Here is a description of the problem and solution.
Problem:
When using the WPML language switcher to switch to a secondary language, no shipping methods are displayed for that language. However, when selecting 'All languages', the shipping methods for the secondary language become visible.
Solution:
First, ensure you have a full backup of your site. Then, in your WPML dashboard under WPML → Support → Troubleshooting, run the following steps:
1. Remove ghost entries from the translation tables
2. Fix element_type collation
3. Fix WPML tables collation
4. Set language information
5. Fix terms count
6. Fix post type assignment for translations
If these steps do not resolve the issue, it may be necessary to reset the shipping methods. This involves exporting the shipping methods using the Advanced Shipping plugin's export function, deleting all existing shipping methods, and then re-importing them. This process was tested and resolved the issue on a staging site before applying it to the live site.
If this solution does not apply to your case, or if it seems outdated, we highly recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum 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.