Open neo7-studio-web opened 10 months ago
I don't get it, you didn't put the translations in the public folder?
I don't get it, you didn't put the translations in the public folder?
Nope. Why ?
What are the json files in the i18n folder? Are they not translations?
Yes they are. My personal preference is to put files used as sources at build time in /src
rather than in /public
.
If anyone is wondering how to translate pages as .md files, here is a solution (example with a privacy policy page) :
.md
files, located in their respective language folders. E.g. : (you can use any folder structure as long as the files have the same name and are located in their language folder.)privacy-policy.astro
).md
page content :<Content />
into your .astro file