Difficult.
In the Mlp_Db_Languages_Schema.php I changed the custom names English, Deutsch and Nederlands to EN, DE and NL, but at the frontend menu still the names are visible instead of the codes.
Is there some other file in which I have to change that?
I don’t understand. You changed the plugin files? You shouldn’t do that at all. Plus, the schema files are for the installation routine only, they aren’t read later.
Please try the code from the tutorial in a separate plugin, or in a theme. Do not change files that are updated by others.
Mmm….. let me try to explain perhaps better.
If you look at my site and you open the menu on the left, you’ll see below the Language Switcher, showing three flags and three language names.
All together, that is IMO too long.
I’d like to replace the language names by the language codes, but keeping the flags.
It should become <flag> EN <flag> DE <flag> NL
And I cannot find where I simply can replace those language names by the language codes.
I am sorry, I am not a programmer or coder at all, so I cannot write any new routines.
Do use the widget as language switcher? If yes, you can select different text forms. See my screenshot: https://www.diigo.com/item/image/1j30r/91xa?size=o . But if the text string is to long, also with short name and maybe not clear for your users, change the style via css to list vertical, each language above the other languages.
Hi Frank,
unfortunately, I don’t have that choice. I only have the choices:
– Text
– Flagg
– Text and flagg
– Language code
Do you perhaps use another version?
Right, I see it now.
But you can also use this. Download the current master, this link: https://github.com/inpsyde/multilingual-press/archive/master.zip
It is not the final version, but it should works.