getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 223 forks source link

Multilingual. Adding translations. Doesn't work correctly. #2315

Open LeeLee-Smith opened 1 year ago

LeeLee-Smith commented 1 year ago

The admin panel plugin is used.

Let's say there are languages ​​en, pl, gr, it. English is the default language. Let's say there is a "Home" page. And you need to add the Italian version - "Casa". While adding the italian version, on the edit page, there is no save as italian button. All other buttons are there (saving in languages: gr, pl), but there is not exactly the one with which I am working at the moment.

To do this, you need to save as the English version. Then a button with the function of saving as the Italian version appears. I'm saving it as the Italian version. But after that, it will be necessary to correct the English version of the page.

bitstarr commented 1 year ago

If English is your default language, you have to create the english content first. Then you can start to edit and save in a different language. You can create the markdown files in you code editor and place them manually as default.it.md for example if you want to skip the default language version of a page for reasons.