This thread is resolved. Here is a description of the problem and solution.
Problem: The client wanted to add country names next to the flags in the WPML language switcher dropdown and was also experiencing an issue where the login/register option disappeared after integrating WPML.
Solution: For adjusting the size of the dropdown, we provided custom CSS:
To display language names next to flags in the dropdown, we instructed the client to go to WPML > Languages > Menu language switcher section, edit the settings, select the checkbox to show the language name, and save.
Regarding the issue with the missing login/register option, we suggested opening a new support ticket as per our Support Policy of handling one issue per ticket.
For the request to show country names instead of language names, we clarified that WPML does not support country names by default. We suggested that this could be achieved with custom coding using jQuery or by hiring a WPML contractor or front-end developer, as it falls outside our Support Policy.
Hi,
Is it possible to add the countries by the dropdown of the flags?
Now you see a lot of emty space.
I couldn't find this in the settings.
See also printscreen.
Thanks.
Hi,
It is smaller now. But it would not be possible to make it bigger with next to the flag the name of the language in the dropdown?
And another question,
After the integration of WPML I noticed that the login/ register option in the topmenu in the right corner dissapeared.
Like it is here: hidden link
You have any idea why that is?
Thanks.
But it would not be possible to make it bigger with next to the flag the name of the language in the dropdown?
I think you should be able to do that, yes. You can go to WPML > Languages > search for the "Menu language switcher" section > edit the settings for it > and select the checkbox so that it shows the language name > save.
Please let me know how that goes.
In regards to the new issue that you mentioned, I have no idea why would that happen but feel free to open a new ticket and we will be happy to take a deeper look.
Per our Support Policy, we can handle only one issue per ticket.
Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.
Hi Mihai,
I saw that option, but it put's also the name in the navigation, and makes the navigation too wide. So I just wanted the names of the countries in the dropdown. But I think that would be not possible?
Thanks.
The name of the language is what we have available at this moment, we don't have the country names.
I personally never met a situation where someone would want to use the country name instead of the language name but I definitely understand that this would work great and would make a lot of sense for specific situations.
Most people use just the flags, because it looks nicer and it doesn't take a lot of space, some of them use the language name only without flags, and some of them use both.
As these are the most requested and used combinations, probably this is why our developers never took country names in consideration as an extra alternative.
This can be accomplished with some custom coding, with the jQuery Javascript library for example, but custom coding falls out of the purpose of our Support Policy so I recommend getting in touch with a front-end developer or a WPML contractor (http://wpml.org/contractors) if you really need/want that feature.
Hi Mihai,
Sorry for the confusion, the name of the language is ok.
I meant that I wanted in the dropdown only, to see the names and not in the topbar.
See printscreen.
Now things are way clearer 🙂 Thank you for the help.
You will need some more custom CSS code to accomplish that (targeting the current language and removing any text) but this will be more complex than the initial example I shared with you so I recommend that you hire a WPML contractor (http://wpml.org/contractors/) or a front-end developer for this.
Custom coding work falls out of the purpose of our Support Policy but we try our best to help as much as we can when things are not too complex.