Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

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

Started by Muut Archive 10 years ago · 0 replies · 524 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 2555 9 years ago
Archive · by Muut Archive, 9 years ago
2 1685 9 years ago
Archive · by Muut Archive, 9 years ago
2 4972 9 years ago
Archive · by Muut Archive, 9 years ago
1 3797 9 years ago
Archive · by Muut Archive, 9 years ago
3 1795 9 years ago