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

Plugin localization and page editor error

Started by Muut Archive 9 years ago · 1 replies · 455 views
9 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?

9 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 Deleted User, 9 years ago
0 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1104 9 years ago