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

Default language reverts to null

Started by Randall Paul Allen 7 years ago · 0 replies · 562 views
7 years ago

I installed Grav today ( Grav v1.6.23 - Admin v1.9.13). I'm trying to change the default language to Portuguese (code pt). In the admin plugin I added pt to the languages supported with no problem. However, when I tried to set the default language in the admin plugin, after saving the page, the pt code still appeared in the input field, so I thought it was fine. But the site didn't change to Portuguese, so I looked at the user/config/system.yaml file. The default_lang was null. I changed this and saved it and went back to the site. It was still not in Portuguese so I checked the system.yaml file and it had reverted to null. I tried several times and the default_lang always reverted to null. What should I do?

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 158 6 days ago
Support · by nwhitfield, 1 week ago
2 136 1 week ago
Support · by stell, 3 weeks ago
5 369 2 weeks ago
Support · by gravinator, 1 month ago
5 559 2 weeks ago
Support · by Gravver, 3 weeks ago
6 347 3 weeks ago