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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Set other language than English dont work properly

admin

Started by elkwaet 5 years ago · 0 replies · 353 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 Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 17 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago