Grav-plugin-admin: translate page content in admin

Created on 22 Oct 2018  路  5Comments  路  Source: getgrav/grav-plugin-admin

Hi,
maybe I'm blind, but it is possible translate existing page to another (existing) language within admin?

For example I have 01.page/default.en.md when I create new page, how can I create 01.page/default.cs.md within admin?

Thanks

question

All 5 comments

Sure. You have to set up the array of supported languages in system config first though.

You should see a drop down in the save button to save as another language. Also you should see another drop down with available languages so you can easily switch between them.

This is not an admin repo?

I'm trying multilingual skeleton and here is my configuration:
image

When the pages with languages suffixes exists in filesystem it is possible change translation:
image

But I try to create those files from admin and it's impossible (look at new page which exist on file system only with .en suffix):
image

Thanks for clarification

You don't see a dropdown in the "Save" button?

Ok, is working correctly for me. basically, any language that does NOT have a translation should show up in the "Save" button:

screen shot 2018-10-25 at 3 37 27 pm

After you have saved that page as another language, you wil be able to easily switch to it via that dropdown you showed.

Yes! That's it. Is this information in documentation?
Easy to use, hard to find :)

Thanks a lot.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ritchiedalto picture ritchiedalto  路  6Comments

Sommerregen picture Sommerregen  路  3Comments

WilliamMiceli picture WilliamMiceli  路  4Comments

orasik picture orasik  路  6Comments

dimayakovlev picture dimayakovlev  路  5Comments