Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Missing example for adding translations directly to the page #199

Open
momo-aux opened this issue Oct 28, 2021 · 0 comments
Open

Missing example for adding translations directly to the page #199

momo-aux opened this issue Oct 28, 2021 · 0 comments

Comments

@momo-aux
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant