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

Set other language than English dont work properly

admin

Started by elkwaet 5 years ago · 0 replies · 499 views
5 years ago

Hello folks,
I'm trying to prove to my community that Grav can be a better choice for small and funy blog but i guess a lot of issues to setup 100% the language FR for the whole site + admin plugin. I need help to fix it.

Simply, i have set in:

/user/config/site.yaml
"default_lang: fr"

/user/config/system.yaml

YAML
"languages:
  supported: fr
  default_lang: fr"

and do the same in the main /config/ folder.

RESULTS:
When check out the generated html of the site, i have <html lang="fr">
When check out the generated html of the adminDashboard, it still on <html lang="en">
The Menu in the adminDashboard are 80% english (Ok).
The thing i need it to have the Sidebar content into FRENCH.

The ultimate solution i found is to overwrite the "en" parameters in /user/themes/quark/languages.yaml with French translation. Sincerely, i don't like this method, which i found dirty.

PS: It is based on Quark squeleton.

Thanks by advance
Capture d’écran 2021-10-31 à 06.10.40|366x499

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 1 week ago
0 146 1 week ago
General · by lynbor, 1 month ago
3 460 2 weeks ago
General · by lynbor, 3 weeks ago
7 598 2 weeks ago
General · by Harry, 2 weeks ago
0 180 2 weeks ago
General · by Old Man Umby, 1 month ago
2 323 4 weeks ago