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.

Archive

Multi-Language Website

Started by Muut Archive 12 years ago · 1 replies · 221 views
12 years ago

I am going to use different templates, e.g. chinese.html.twig, english.html..twig. However, I believe there must be a better solution which Grav is going to implement. Any suggestions?

12 years ago

Our goal is to build multi-language support into the Grav core in the near future..

For content, the plan is to provide the ability to have multiple .md files per folder for each language supported.

For strings in twig templates, perhaps a single lang file with key/value pairs.

This is something we will probably focus on after the admin is complete so it's not all completely flushed out yet.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1282 9 years ago
Archive · by Muut Archive, 9 years ago
2 889 9 years ago
Archive · by Muut Archive, 9 years ago
2 4019 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1078 9 years ago