Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

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

Started by Muut Archive 9 years ago · 0 replies · 389 views
9 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 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1104 9 years ago