-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working with markdown pages (.md) #185
Comments
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 fileThe text was updated successfully, but these errors were encountered: