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

Last updated by Itamar 5 months, 3 weeks ago.

Assigned support staff: Itamar.

Author Posts
April 22, 2019 at 8:32 am #3654557

aggelikiS

Tell us what you are trying to do?
we are trying to find a way to add code to the theme for the switcher
Is there any documentation that you are following?
Not about it
Is there a similar example that we can see?
Sorry, no
What is the link to your site?
bluefox.gr (it is under construction)

April 22, 2019 at 4:21 pm #3656969

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi and thank you for contacting WPML Support!

I will be happy to help you with this.

First of all, I don't know if you have ever seen this documentation before but I am sharing it as it might be helpful in this situation:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/

So in our situation, there are a couple of solutions I can think of:

1. You could use a custom language switcher as indicated at the bottom of the link above (you will also find extra links in that section)

2. You could contact the plugin authors and recommend them to join our 'Go Global' program (https://wpml.org/documentation/theme-compatibility/go-global-program/) where our Compatibility developers will help them make their plugin 100% compatible with WPML for free.

3. For implementing this functionality, you could contact a WPML Contractor from our Contractors list here: https://wpml.org/contractors

Hopefully, one of these options will help.

Please let me know how that goes and if you will have any other questions regarding this functionality.

Kind regards,
Mihai Apetrei

April 24, 2019 at 6:56 am #3669687

aggelikiS

Thank you very much for these tips. We used a custom language switcher.

But now, as our theme is one page with sections, we can't translate the menu.
Is there any solution from your side that could help? Some code to detect the navigation maybe...
As i said we use the Rara onepage template.

Thank you again!

April 24, 2019 at 1:42 pm #3673573

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi.

There are a few topics related to the one-page issue situations and I will paste some of the solutions I found below, but from my point of view, I think you could simply translate the homepage (that is the one-page) and that way you could translate the menu, too and WPML would be able to see it.

Can you please let me know if that would work for you? I don't know exactly how the one-page homepage is set up but that should work.

Also, here are a couple more tickets

- https://wpml.org/forums/topic/one-page-menu-brakes/
- https://wpml.org/forums/topic/one-page-menu-brakes-2/

Please let me know how it goes!

I will be waiting for your response.

Kind regards,
Mihai

April 30, 2019 at 3:49 pm #3713061

aggelikiS

Sorry for the delay but we still try to figure out what to do!
Thank you for your patience!

May 1, 2019 at 1:59 pm #3718469

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

Mihai is not available today, so I'll continue to handle this ticket. I hope that it is alright with you.

If I understand correctly you are using custom links on your one-page site to help the users of the site skip to specific sections on the page. Please see the attached screenshot. Is it correct?
If so, then for this you are probably using the following or similar link format in the Custom Link menu item.

<em><u>hidden link</u></em>

In this case, you can simply translate the menu according to the explanation in our documentation at the following link and then add a Custom Link item also on the translated menu. It would probably look like this.

<em><u>hidden link</u></em>

https://wpml.org/documentation/getting-started-guide/translating-menus/
You can also translate the links in the String Translation section.

I hope that this information is helpful to you.

Regards,
Itamar.

The topic ‘[Closed] The theme that we use doesn't support switcher with onepage menu.’ is closed to new replies.