How to set locale based on file name #935
Unanswered
leeloo-1337
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @leeloo-1337, I'm afraid this is not supported. FM makes use of locale folder for the multilingual content. Here you can read more about the feature: https://frontmatter.codes/docs/content-creation/multilingual |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following Hugo project structure:
Where
.cn.md
indicates that the file belongs to Chinese locale.How do I set up
frontMatter.content.i18n
to make sure that it detects existing languages and allows creating new ones with locale inside of the file name?Beta Was this translation helpful? Give feedback.
All reactions