Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Set other language than English dont work properly

admin

Started by elkwaet 5 years ago · 0 replies · 428 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 jean-louis67, 3 weeks ago
2 312 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 312 3 weeks ago
General · by Veehem, 4 weeks ago
0 264 4 weeks ago
General · by milkboy, 4 weeks ago
0 267 4 weeks ago
General · by ian russell, 1 month ago
2 338 1 month ago