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 1 reply, has 2 voices.

Last updated by Noman 4 months, 3 weeks ago.

Assigned support staff: Noman.

Author Posts
May 29, 2019 at 7:48 am #3912455

andreasS-66

I need to change the Language Switcher to only display the short form of the language (in this case EN | DE).

I already tried some documentations but dont get it how it works...

URL: hidden link

May 29, 2019 at 8:25 am #3913067

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. You can achieve it by doing below steps:
- Go to WPML >> Languages >> Edit Languages
- Add EN / DE in Translation text boxes as in attached screenshot.
- Then Edit language switcher by pressing the pencil icon from WPML >> Languages >> Menu language switcher and select similar options as in the attached screenshot.
- Then you can use small CSS code to display language switcher separator and CSS code will be something like this:

.wpml-ls-item + .wpml-ls-item {
padding-left:5px;
margin-left:5px;
border-left: 1px solid #000;
}

Please let me know if this resolves your issue or you need further assistance with this issue.

Thank you

The topic ‘[Closed] Custom language switcher layour’ is closed to new replies.