kurtsson / jekyll-multiple-languages-plugin

I18n support for Jekyll and Octopress
MIT License
922 stars 203 forks source link

Missing example for adding translations directly to the page #199

Open momo-aux opened 2 years ago

momo-aux commented 2 years ago

Hi, great plugin, thank you for all the work.

Maybe I just don't see how it works, so a little hint would be grat.

I have about.md in root with translate_file about.md

---
layout: landing-page
---
{% translate_file beratung.md %}

in _i18n/en I have about.md which should contains

---
title: EN Title
---
## Example

in _i18n/de I have about.md which should contains

---
title: DE Title
---
## Beispiel

is that possible or do I always have to push the title to the en.yml file titles: about: "EN title"

and use titles.about in the page title of the template in root?