You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was crucial for me to create directory i18n/el (Not "gr" as I and many greek people might do) and put el.toml in it. (Remove .txt extension, if you downloaded the previous file and change any Greek string to your liking.) Of course, a content/el directory should be created or, whatever your approach on multi-language is, el should be your language.
From there, i followed the exampleSite in theme and my config.toml settings are
If you wish another date_format, do not change any part of it with other word or number, as these keywords are used internally by go.
That's it.
Now, i see "27 Απριλίου 2023" in my el site and " April 27, 2023 " in my en site.
The text was updated successfully, but these errors were encountered:
It was crucial for me to create directory i18n/el (Not "gr" as I and many greek people might do) and put el.toml in it. (Remove .txt extension, if you downloaded the previous file and change any Greek string to your liking.) Of course, a content/el directory should be created or, whatever your approach on multi-language is, el should be your language.
From there, i followed the exampleSite in theme and my config.toml settings are
[languages]
[languages.en]
weight = 1
contentDir = "content/en"
[languages.el]
weight = 2
contentDir = "content/el"
date_format = "2 January 2006"
If you wish another date_format, do not change any part of it with other word or number, as these keywords are used internally by go.
That's it.
Now, i see "27 Απριλίου 2023" in my el site and " April 27, 2023 " in my en site.
The text was updated successfully, but these errors were encountered: