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

Set other language than English dont work properly

admin

Started by elkwaet 5 years ago · 0 replies · 464 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 jeremycherfas, 1 week ago
5 198 6 hours ago
General · by lynbor, 6 days ago
2 131 3 days ago
General · by Old Man Umby, 1 week ago
1 105 1 week ago
General · by Sebastian, 2 weeks ago
1 130 2 weeks ago
General · by Andy Miller, 3 weeks ago
0 252 3 weeks ago