Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Default language reverts to null

Started by Randall Paul Allen 6 years ago · 0 replies · 502 views
6 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 complanar, 6 days ago
6 143 18 hours ago
Support · by Rick Beebe, 6 days ago
2 101 3 days ago
Support · by blu3prince, 3 days ago
0 53 3 days ago
Support · by alex, 4 days ago
2 94 3 days ago
Support · by Marcel, 2 weeks ago
1 144 4 days ago