This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported that the language switcher on their website only displayed English and did not show Japanese as an option, despite setting up automatic translations in WPML. The client also noted that many pages were marked as 'Needs translation' and manual translation options appeared instead of automatic translations. Solution: We advised the client to check if the content was already translated and published, as the language switcher only displays languages for which translations are available and published. We identified that the Classic Translation Editor (CTE), which does not support automatic translations, was active. We recommended switching to the Advanced Translation Editor (ATE) for automatic translation capabilities. The client was guided to change the settings in WPML to 'Translate what you choose' and to send a page for automatic translation as a test. We provided a link to the documentation on how to review automatic translations: https://wpml.org/documentation/automatic-translation/how-to-review-automatic-translations-on-your-site/
Please note that this solution might be outdated or not applicable to your specific case. 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. If the issue persists, please open a new support ticket at https://wpml.org/forums/forum/english-support/.
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:
The language switcher appears in the footer on hidden link but only shows English as an option. It should show English as the primary language with Japanese as an option.
Symptoms:
The optional language option (Japanese) doesn't appear in the language switcher.
Questions:
Why is the language switcher not appearing on my website correctly?
Can you please let me know if you translated the content already?
Because if the content was not translated already, seeing just one of the language flags (one language) in the language switcher is something normal.
Please check if the page you are looking at has been translated—or if the translation has been published and is not in "draft" mode or "under review" status.
Thank you Mihai. I'm aware there are no translations yet and the fields are blank. I wanted WPML to perform automatic translation, why hasn't it done that?
Because I have seen the interface here (hidden link), I thought that it was on purpose because that's using the CTE (Classic Translation Editor).
The CTE doesn't come with automatic translation functionality. So inside WPML > Settings, we need to enable the Advanced Translation Editor (ATE) instead.
After you do that, can you please switch to "Translate what you choose" and then send one page for automatic translation for testing purposes by following the steps here: https://wpml.org/documentation/automatic-translation/
You can reactivate "Translate everything automatically" if you want. Still, I usually don't recommend that mode because with that one, WPML will try to download ALL the sites, and on your site, you might have content that's not finished yet, that you might still be working on, or that you don't even want to translate.
I usually prefer "translate what you choose" because it gives me full control over what gets automatically translated.
There are no errors in the ATE log (hidden link), so there's a chance the only issue we have here is that CTE is active instead of the recommended ATE (you will see in the screenshot I'm attaching that currently we have CTE active).
I hope that you will find this information helpful.
Thanks Mihai. Appreciate all that information. I have translated the home page and the option to switch to Japanese appears in the footer now, however when switching to Japanese the page's content is blank. Any thoughts on why this might be?
Thanks for all your help.
New threads created by Mihai Apetrei and linked to this one are listed below:
Sorry for the delayed response. There's been a weekend, and most of the support team does not work on weekends.
I'm happy that the Japanese flag is now showing up on the site.
This situation is a bit bizarre because, from what I can see here (hidden link), there's a good amount of translated content.
I am not sure if there's any missing content on that page. Still, there's a chance this might be a cache-related issue where we need to clear local and any server/cdn caching fully, or it might be an issue between WPML and (at least) one of the other active plugins (or the currently active theme), or there's a chance that due to the fact the homepage is built out of custom fields (from what I was able to understand by looking at the backend - hidden link), the current ACF setup might not be right (we have some amazing documentation regarding this topic here but maybe you already checked it - https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/). However, the fact that WPML can see content and translate it is a good sign.
This is a different issue than the initially reported one, and since, per our Support Policy, we can handle only one problem/issue per ticket, I am creating a separate ticket for this unique issue.
Continuing with one issue per ticket helps supporters focus on one problem at once and enables other users to find solutions to their questions faster.
Can you please mark this ticket as resolved and then try to see if there is any existing caching that can be cleared? Please let us know if you are able to find anything extra in the new ticket I created and we will continue with this in that new ticket.
Thank you very much for your understanding and cooperation.