Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

Started by Muut Archive 10 years ago · 0 replies · 832 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 Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago