# Different page languages without multilingual site

**URL:** <https://zola.discourse.group/t/different-page-languages-without-multilingual-site/1958>\
**Category:** Feature requests\
**Created:** [December 7, 2023, 7:18pm UTC](https://zola.discourse.group/t/different-page-languages-without-multilingual-site/1958 "2023-12-07T19:18:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![piegames](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/piegames/32/893_2.png) [@piegames](https://zola.discourse.group/u/piegames)\
**Post date:** [December 7, 2023, 7:18pm UTC](https://zola.discourse.group/t/different-page-languages-without-multilingual-site/1958/1 "2023-12-07T19:18:25Z")

</div>

I’d like to have individual pages in different languages, but without translating them or the entire site. Currently if I simply add `.lang.md` to the file name, this won’t help because it then won’t be shown in any section listings of the default language.

This is not about having translations for individual pages, merely about pages in different languages, although that would be a nice bonus feature.

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [December 8, 2023, 1:35pm UTC](https://zola.discourse.group/t/different-page-languages-without-multilingual-site/1958/2 "2023-12-08T13:35:47Z")

</div>

No way to do that with the multi-lingual setup of Zola. If you want to have them in the same section, can you put the language code in `[extra]` and handle it manually. It will screw up the search index though if you have one.

---

<div class="post-metadata">

**Author:** ![piegames](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/piegames/32/893_2.png) [@piegames](https://zola.discourse.group/u/piegames)\
**Post date:** [December 8, 2023, 1:41pm UTC](https://zola.discourse.group/t/different-page-languages-without-multilingual-site/1958/3 "2023-12-08T13:41:31Z")

</div>

Yes, that’s basically my workaround, I put `extra.lang` in there and then in the `index.html` template I check for that in addition to `lang`. I’d like to simply be able to set `lang` in the front matter and be done with it instead. I don’t have search enabled or anything so I personally don’t care about the search index

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [December 9, 2023, 8:39pm UTC](https://zola.discourse.group/t/different-page-languages-without-multilingual-site/1958/4 "2023-12-09T20:39:37Z")

</div>

> [@piegames](#):
>
> I’d like to simply be able to set `lang` in the front matter and be done with it instead.

Which feature do you want to use that you need to use the built-in language features if you want all the pages to be part of the same section (unless I misunderstood)

---

<div class="post-metadata">

**Author:** ![piegames](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/piegames/32/893_2.png) [@piegames](https://zola.discourse.group/u/piegames)\
**Post date:** [December 9, 2023, 8:56pm UTC](https://zola.discourse.group/t/different-page-languages-without-multilingual-site/1958/5 "2023-12-09T20:56:24Z")

</div>

Yeah, probably the only thing I need is for `page.lang` to show the correct value. Currently it is forcefully automatically generated, which I can work around with a custom attribute to check, but this is annoying and error-prone.
