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 →

Default language reverts to null

Started by Randall Paul Allen 7 years ago · 0 replies · 669 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 TomW, 2 days ago
4 63 12 hours ago
Support · by Anna, 1 week ago
2 149 2 days ago
Support · by Anna, 3 weeks ago
1 309 3 weeks ago
Support · by webmasterodp, 1 month ago
4 403 1 month ago
Support · by nwhitfield, 1 month ago
2 376 1 month ago