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

Last updated by wajihaS 11 months, 4 weeks ago.

Assigned support staff: Diego Pereira.

Author Posts
October 23, 2018 at 7:45 pm

wajihaS

I am trying to: Events section on homepage is showing only in English when switched to other languages it doesn't show up though the translations for those languages is there.

Link to a page where the issue can be seen: hidden link

hidden link You can see the english version has 1 event listed but in other languages its not showing anything.

Thanks,
Wajiha

October 24, 2018 at 2:26 pm #2846803

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello @wajihas, welcome to the WPML support Forum!

I noticed that the event that is displayed on the english language is this: hidden link

Please try the following to check if this post is translated to the other languages:
- Go to Pages > All Pages
- Change the language using the language switcher at the top admin bar
- Check if the post is published or with the "draft " status. If so, you still need to publish the page

Please let me know if it worked for you.

All the best,
Diego

October 24, 2018 at 2:38 pm #2846890

wajihaS

Hi,

No, they are already published.hidden link

Thanks,

Wajiha

October 25, 2018 at 12:28 pm
October 25, 2018 at 12:28 pm #2849720

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

I sent you a private message with some instructions, please check.

Regards,
Diego

October 25, 2018 at 1:54 pm #2850000

wajihaS

okay its done

October 25, 2018 at 8:07 pm #2851029

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thanks! I will run some tests and send you a feedback soon.

October 26, 2018 at 1:12 pm #2853097

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks. I did some tests at your website. here is what I found:
- The events are displayed at your home page through a custom module of your theme
- This module is set to display only the future events

After that, I noticed that the translation of the event is missing the "start" and "end" dates. So therefore it does not appear on the homepage. I was able to fix this using the steps below:
- Go to the edit screen of the event(original language).
- Scroll down to Multilingual Content Setup
- Click on Show system fields
- There are some "borntogive" and "ihc_" fields that are set as "Don't Translate" or "Translate". Change them to "Copy" or "copy-once"
- Click on Apply
- Scroll up, do a small modification on the page content and save
- Edit the translation and save

This way the dates will be copied to the translation. If it's a future date, it will be displayed at the homepage.

It worked on the test website:
- hidden link
- hidden link

IMPORTANT: Please backup your site first before making any change, this is important for security reasons.

Kind regards,
Diego

October 29, 2018 at 5:48 am #2856951

wajihaS

okay let me check this and get back to you.

October 29, 2018 at 6:58 am #2856980

wajihaS

My issue is resolved now. Thank you!