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 →

Set other language than English dont work properly

admin

Started by elkwaet 5 years ago · 0 replies · 576 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 themetman, 1 day ago
2 41 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago