Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

A cleaner way to display shorter language names with the langswitcher plugin?

Started by Muut Archive 10 years ago · 0 replies · 492 views
10 years ago

Hi, I'm polishing work on the multilanguage website. I would like to display language selection with shorter names of languages (i.e. EN, DE), instead of default display (English, Deutch). I use "dirty" method for that: just edited LanguageCodes.php in system/src/Grav/Common/Language, but every Grav update bill break that. Any advice for a better solution?
Thanks

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2287 9 years ago
Archive · by Muut Archive, 9 years ago
2 1500 9 years ago
Archive · by Muut Archive, 9 years ago
2 4750 9 years ago
Archive · by Muut Archive, 9 years ago
1 3565 9 years ago
Archive · by Muut Archive, 9 years ago
3 1624 9 years ago