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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 5 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 4 months ago.

Assisted by: Prosenjit Barman.

Author Posts
November 15, 2023 at 4:13 pm #14811575

damianL-3

Tell us what you are trying to do?

- We're trying to setup a search templates for 5 languages (3 at this moment). We made templates for every language, all of them are set for different language. All templates inherit different main template containing header and footer.

It doesn't seem to work though. When we're login as an admin, it seems to work fine, but when looking as a normal user, all language version seem to inherit SAME main template making all headers in one language.

Is there any documentation that you are following?

- Just common info and experience from both Oxygen and WPML.

Is there a similar example that we can see?

- I don't know.

What is the link to your site?

- PL - hidden link
- EN - hidden link
- DE - hidden link

search.jpg
November 17, 2023 at 7:24 am #14832013

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

I checked the Search page as a non-logged-in user and found that in each language, the Header menu, Footer, and search contents are getting changed. But, the Name on the Header(Frequently Asked Questions) always remains the same.

However, we have received an issue in the past which is mostly similar to yours. In that case, the template they created using Oxygen Builder was also not working for the non-logged-in users. Could you please try the following steps to see if they resolve the issue?

1. Create a template and translate it using ATE.
2. Don't set the "Where does this template apply?" option on the Template Edit page.
3. Translate the template into all necessary languages, ensuring each one is distinctly named for easy identification.
4. For each translated template, ensure that the 'Inherit design from' option is set to the template in the original language.
5. On each translated page, select the appropriate language-specific template.

If the issue persists even after that, please let me know and I will create a test site for further investigation.

Looking forward to your response and I would be happy to assist you further.

Best regards,
Prosenjit

November 24, 2023 at 7:25 am #14913427

damianL-3

Sorry for my delay and thanks for the suggestions - will try them todays and give you feedback!

Thanks,
Damian

November 27, 2023 at 3:07 am #14926189

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Damian,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

Please try and let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

November 27, 2023 at 2:47 pm #14931515

damianL-3

Hello,

I looked into your solution and I'm wondering if it will fit our problem.

You're suggesting to NOT set anything in the "Where does this template apply?" option, but isn't this the only way to align template to Search Page?

Let me know, maybe I'm not understanding this correctly 🙂

Thanks,
Damian

November 28, 2023 at 8:58 am #14936631

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Damian,
Thank you for the feedback.

As far as I know, it is possible apply a template to any individual post, page, or custom post type. But as the template is designed to function in search results and it is not a conventional page, you should set the "Where does this template apply?" option to "Search results". The rest of the steps will be same.

If the problem continue despite these adjustments, kindly share a video that outlines the expected result and how the template currently appears. I will review it thoroughly and do my utmost to resolve the issue for you.

Best regards,
Prosenjit

The topic ‘[Closed] Multilingual Search Page on Oxygen Builder’ is closed to new replies.