# Multilingual archetypes

**URL:** <https://discourse.gohugo.io/t/multilingual-archetypes/39542>\
**Category:** support\
**Tags:** i18n\
**Created:** [July 17, 2022, 4:03pm UTC](https://discourse.gohugo.io/t/multilingual-archetypes/39542 "2022-07-17T16:03:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bwintx](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bwintx/32/10450_2.png) [@bwintx](https://discourse.gohugo.io/u/bwintx)\
**Post date:** [July 17, 2022, 7:56pm UTC](https://discourse.gohugo.io/t/multilingual-archetypes/39542/6 "2022-07-17T19:56:05Z")

</div>

I worked with this for a while and, as nearly as I can determine, it’s controlled by your config file’s `DefaultContentLanguage` setting.

With it set at `sr`, as you had it, `hugo new blog/test-post.md --kind sr/blog` creates `content/sr/blog/test-post.md`. **But** if that setting is either changed to `en` or commented-out (which invokes the default setting of `en`), `hugo new blog/test-post.md --kind sr/blog` creates `content/en/blog/test-post.md` — in other words, the `--kind` sets only which archetype it uses **but** does **not** change the final language-specific subdirectory within `content/`; instead, the `DefaultContentLanguage` setting does. That does make sense, but the documentation doesn’t explain it.

(You’ll definitely want to use the `--kind` flag because, otherwise, Hugo uses only the `default.md` archetype from either `theme/[YourTheme]/archetypes/sr/` or `theme/[YourTheme]/archetypes/en/`, depending on how `DefaultContentLanguage` is set in the config file.)

Anyway, it appears that, while creating your content from archetypes, you’ll need to switch back and forth on that `DefaultConfigLanguage` setting. Sorry that I can’t offer a more convenient answer.

You may also want to read this old question from years ago:

> [@Are archetypes for nested sections supported in any way?](https://discourse.gohugo.io/t/are-archetypes-for-nested-sections-supported-in-any-way/7963):
>
> Are archetypes for nested sections supported in any way?

---

_[View the full topic](https://discourse.gohugo.io/t/multilingual-archetypes/39542)._
