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 →

Plugin localization and page editor error

Started by Muut Archive 10 years ago · 1 replies · 698 views
10 years ago

Hello. I put the Grav in Russian, but the modules (such as Login) in English. And when you edit the page in the editor, when you insert a blank or any other character disappears the written word. How to fix?

10 years ago

You need to ensure all the plugins that have their own language files are translated into your particular language. Also some plugins may not even use any localization, so it really depends. For login plugin for example there is languages.yaml (https://github.com/getgrav/grav-plugin-login/blob/develop/languages.yaml). You can provide a Pull Request with Russian translations for this plugin, or you can just put these into your own file under user/languages/ru.yaml as long as you use the correct nested structure:

YAML
PLUGIN_LOGIN:
  ACCESS_DENIED: ...

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago