Skip Navigation

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 contains 3 replies, has 2 voices.

Last updated by Andrey 7 months ago.

Assisted by: Andrey.

Author Posts
September 10, 2024 at 6:55 pm #16163197

Klaus Bostelmann

Background of the issue:
We are displaying 160 destination posts on a Google map using the plugin Codepeople Google Maps. Most of the posts are only in English and not translated into French, German, Italian, or Spanish. All posts used to be displayed on the French map page; see our staging site as of May 2024: hidden link. But now we noticed that the non-English maps show only the posts translated into that very language: hidden link. We compared WPML settings and CP Google Maps settings and there seems to be no difference.

Symptoms:
Non-English maps show only the posts translated into that very language.

Questions:
What could be the issue causing non-English maps to show only the posts translated into that very language?

September 10, 2024 at 7:59 pm #16163502

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

It seems that the behavior you described is expected. If the post destination is not translated, it won't be displayed on the map because there is no such post in the given language. However, you show that it's working in some way.

I recommend setting Posts to use a translation if available or falling back to the original language in WPML → Settings → Post Types Translation. If this doesn't resolve the question, you may need to compare the settings of both your sites or reach out to the author of the CP Google Maps plugin.

https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#using-the-default-language-as-a-fallback-for-untranslated-content

I want to clarify that we haven't tested CP Google Maps for compatibility: https://wpml.org/plugin/?wpv_view_count=120064&wpv-plugin-functionality=0&wpv_post_search=CP+Google+Maps&wpv-wpcf-recommendation-flag=&wpv_filter_submit=Search

September 10, 2024 at 9:47 pm #16163805

Klaus Bostelmann

Hi and thanks,

post translation IS actually set to the fallback option.

Just found out that all looks good as long as I have opened the DIVI visual builder, but as soon as I close it the non translated posts are missing.

September 11, 2024 at 2:44 pm #16167048

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

There might be an issue with some settings or compatibility with the CP Google Maps plugin. From what I can see, it functions properly when not using the DIVI visual builder on your staging site. But it works as long as you translate the post so it doesn't look like the issue.

September 14, 2024 at 6:55 am #16178342

Klaus Bostelmann

The CP Google Maps plugin needed a tweak.