Hugo-coder: i18n translation used in layout files

Created on 25 Nov 2019  路  1Comment  路  Source: luizdepra/hugo-coder

As right now, there are some translations in for example i18n/de.toml

Should not files like layouts/posts/list.html use the tags then, or maybe use newly added ones?

Would be awesome if the "Posts" word would be localized in the i18n file, if that now is the correct way to go. What else would the i18n/de.toml file be useful for?

Maybe a little related to issue 70..

good first issue help wanted

Most helpful comment

Yes, I probably need a i18n tag in the posts list template. And, of course, we need to add a translation entry in every language file.
I'm not 100% sure if this is everything we need to do, but it seems so. I need to test first.

>All comments

Yes, I probably need a i18n tag in the posts list template. And, of course, we need to add a translation entry in every language file.
I'm not 100% sure if this is everything we need to do, but it seems so. I need to test first.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clement-pannetier picture clement-pannetier  路  3Comments

M-Brody picture M-Brody  路  6Comments

paride picture paride  路  6Comments

sunxichen picture sunxichen  路  3Comments

luizdepra picture luizdepra  路  6Comments