# \#i18n

**URL:** https://discourse.gohugo.io/tag/i18n/19.md

[Latest](https://discourse.gohugo.io/latest.md) · [Categories](https://discourse.gohugo.io/categories.md) · [Tags](https://discourse.gohugo.io/tags.md)

---

## [Multilingual menus with ananke theme](https://discourse.gohugo.io/t/multilingual-menus-with-ananke-theme/57448)

<div class="topic-metadata">

**Author:** [@Doc](https://discourse.gohugo.io/u/Doc)\
**Replies:** 4\
**Last updated:** [August 9, 2026, 5:55am UTC](https://discourse.gohugo.io/t/multilingual-menus-with-ananke-theme/57448 "2026-08-09T05:55:56Z")

</div>

Hej there, I’m building a website using the ananke theme and hugo v0.164.0 on Ubuntu Linux, where I ran into issues setting up a multilingual main menu. I started with a configuration according to the official Ananke gu…

---

## [Multilingual site with posts in one single language each](https://discourse.gohugo.io/t/multilingual-site-with-posts-in-one-single-language-each/57396)

<div class="topic-metadata">

**Author:** [@a.l.e](https://discourse.gohugo.io/u/a.l.e)\
**Replies:** 6\
**Last updated:** [July 28, 2026, 6:20pm UTC](https://discourse.gohugo.io/t/multilingual-site-with-posts-in-one-single-language-each/57396 "2026-07-28T18:20:55Z")

</div>

I’m creating my first Hugo site with an up to date version of both Hugo and the Congo theme. All pages are translated (by adding the language code to the file name) and that works well. The one thing that does not work…

---

## [Strange printI18nWarning WARN](https://discourse.gohugo.io/t/strange-printi18nwarning-warn/57395)

<div class="topic-metadata">

**Author:** [@divinerites](https://discourse.gohugo.io/u/divinerites)\
**Replies:** 2\
**Last updated:** [July 27, 2026, 9:02am UTC](https://discourse.gohugo.io/t/strange-printi18nwarning-warn/57395 "2026-07-27T09:02:04Z")

</div>

My site has 4 languages, works perfectly, I have all translations fine and lang logic is perfect. It relies on: i18n.fr/en/de/it.yaml content/fr/en/de/it/ menus.fr/en/de/it.toml params.fe/en/de/it.toml data/fr/en/de/i…

---

## [New audio and podcast oriented theme and shortcode in development - Feedback Appreciated](https://discourse.gohugo.io/t/new-audio-and-podcast-oriented-theme-and-shortcode-in-development-feedback-appreciated/57280)

<div class="topic-metadata">

**Author:** [@adurrr](https://discourse.gohugo.io/u/adurrr)\
**Replies:** 0\
**Last updated:** [June 17, 2026, 9:14pm UTC](https://discourse.gohugo.io/t/new-audio-and-podcast-oriented-theme-and-shortcode-in-development-feedback-appreciated/57280 "2026-06-17T21:14:23Z")

</div>

I built Wavecast, a Hugo theme and module that adds a persistent podcast/radio audio player to any Hugo site. Drop a shortcode into a page and the audio follows you across every page via a sticky footer bar for pause, se…

---

## [Recommended directory structure for multilingual websites](https://discourse.gohugo.io/t/recommended-directory-structure-for-multilingual-websites/57030)

<div class="topic-metadata">

**Author:** [@santos](https://discourse.gohugo.io/u/santos)\
**Replies:** 3\
**Last updated:** [April 23, 2026, 1:53pm UTC](https://discourse.gohugo.io/t/recommended-directory-structure-for-multilingual-websites/57030 "2026-04-23T13:53:14Z")

</div>

Is the recommended directory structure for multilingual websites non-translated slugs /en/about/\_index.md /fr/about/\_index.md or translated slugs /en/about/\_index.md /fr/a-propos/\_index.md ? I read that 2. is t…

---

## [Aliases on root across languages in v0.155.0?](https://discourse.gohugo.io/t/aliases-on-root-across-languages-in-v0-155-0/56727)

<div class="topic-metadata">

**Author:** [@duco](https://discourse.gohugo.io/u/duco)\
**Replies:** 8\
**Last updated:** [April 2, 2026, 4:04pm UTC](https://discourse.gohugo.io/t/aliases-on-root-across-languages-in-v0-155-0/56727 "2026-04-02T16:04:48Z")

</div>

We want to change defaultContentLanguageInSubdir to true. It wasn’t set before. The consequence is, that /places is now /en/places. But we still want to support the old path. Actually we want to write a alias.html file w…

---

## [Setting up multiple themes in Hugo](https://discourse.gohugo.io/t/setting-up-multiple-themes-in-hugo/56832)

<div class="topic-metadata">

**Author:** [@Paras-Tyagi](https://discourse.gohugo.io/u/Paras-Tyagi)\
**Replies:** 1\
**Last updated:** [March 9, 2026, 5:56pm UTC](https://discourse.gohugo.io/t/setting-up-multiple-themes-in-hugo/56832 "2026-03-09T17:56:49Z")

</div>

Hello, I am trying to setup two different Hugo themes for different pages of a Hugo site. What could be the best possible way to do that ? Here are the two themes which I want to use on different pages of the site - …

---

## [Using the multidimensional content model to fill-in missing translations](https://discourse.gohugo.io/t/using-the-multidimensional-content-model-to-fill-in-missing-translations/56741)

<div class="topic-metadata">

**Author:** [@marcuspollio](https://discourse.gohugo.io/u/marcuspollio)\
**Replies:** 11\
**Last updated:** [February 26, 2026, 7:43pm UTC](https://discourse.gohugo.io/t/using-the-multidimensional-content-model-to-fill-in-missing-translations/56741 "2026-02-26T19:43:08Z")

</div>

For a multi-lingual project with English as default, I’ve tried to use the new sites complements without much success. The use case is: “fill in” missing content in non-default languages from the default English one, so …

---

## [Multilingual site configuration: failed to extract shortcode, template for shortcode not found](https://discourse.gohugo.io/t/multilingual-site-configuration-failed-to-extract-shortcode-template-for-shortcode-not-found/56395)

<div class="topic-metadata">

**Author:** [@pollux](https://discourse.gohugo.io/u/pollux)\
**Replies:** 2\
**Last updated:** [December 20, 2025, 8:06pm UTC](https://discourse.gohugo.io/t/multilingual-site-configuration-failed-to-extract-shortcode-template-for-shortcode-not-found/56395 "2025-12-20T20:06:06Z")

</div>

Hello, I decided to add another language to my site, but I have trouble understanding how to configure a multilingual site in Hugo. I read Multilingual mode and Configure languages sections of the documentation and woul…

---

## [Can't build website in Indonesian](https://discourse.gohugo.io/t/cant-build-website-in-indonesian/56112)

<div class="topic-metadata">

**Author:** [@Jibec](https://discourse.gohugo.io/u/Jibec)\
**Replies:** 14\
**Last updated:** [November 23, 2025, 10:42am UTC](https://discourse.gohugo.io/t/cant-build-website-in-indonesian/56112 "2025-11-23T10:42:16Z")

</div>

hi, I have a small website building fine in multiple languages GitHub - languages-in-floss/site: A website about localization and internationalization Since I added Indonesian (lang code is id), I have this error: ERRO…

---

## [Force language prefix "de" while using language "de-at"](https://discourse.gohugo.io/t/force-language-prefix-de-while-using-language-de-at/56200)

<div class="topic-metadata">

**Author:** [@Andros](https://discourse.gohugo.io/u/Andros)\
**Replies:** 2\
**Last updated:** [November 2, 2025, 8:53pm UTC](https://discourse.gohugo.io/t/force-language-prefix-de-while-using-language-de-at/56200 "2025-11-02T20:53:34Z")

</div>

I use the theme “Blowfish”. My Hugo website is bilingual, the primary language is German. Instead of German, I want to use the language code “de-at” (which is Austrian German). But the language prefix should still be “d…

---

## [Convert page names from custom variable to url](https://discourse.gohugo.io/t/convert-page-names-from-custom-variable-to-url/56086)

<div class="topic-metadata">

**Author:** [@obiwankennedy](https://discourse.gohugo.io/u/obiwankennedy)\
**Replies:** 2\
**Last updated:** [October 13, 2025, 10:37pm UTC](https://discourse.gohugo.io/t/convert-page-names-from-custom-variable-to-url/56086 "2025-10-13T22:37:39Z")

</div>

Hello all, I’m writing an online documentation for a software and I would like the viewer of the documentation to go on Next or previous page in the documentation order. On each page, I defined a next and previous vari…

---

## [Translate months in data files](https://discourse.gohugo.io/t/translate-months-in-data-files/55940)

<div class="topic-metadata">

**Author:** [@tifenak](https://discourse.gohugo.io/u/tifenak)\
**Replies:** 4\
**Last updated:** [September 20, 2025, 3:14pm UTC](https://discourse.gohugo.io/t/translate-months-in-data-files/55940 "2025-09-20T15:14:55Z")

</div>

Is there a way to parse months in a data file and translate them automatically? Or the only way is to use i18n? \[ { "Year": "2025", "Month": "April", "Amount": "6,164" }, { "Y…

---

## [Path warnings for multilingual content fallbacks after v0.146.0](https://discourse.gohugo.io/t/path-warnings-for-multilingual-content-fallbacks-after-v0-146-0/55931)

<div class="topic-metadata">

**Author:** [@sarahg](https://discourse.gohugo.io/u/sarahg)\
**Replies:** 4\
**Last updated:** [September 18, 2025, 6:29pm UTC](https://discourse.gohugo.io/t/path-warnings-for-multilingual-content-fallbacks-after-v0-146-0/55931 "2025-09-18T18:29:12Z")

</div>

Hi. I’m looking for help clarifying a Hugo behavior change that was introduced in v0.146.0. We have a multilingual site that mounts content from directories outside our project. When we run builds, we have it fail in th…

---

## [How can I flag a page that is a fill-in from the base language?](https://discourse.gohugo.io/t/how-can-i-flag-a-page-that-is-a-fill-in-from-the-base-language/55835)

<div class="topic-metadata">

**Author:** [@thewaywest](https://discourse.gohugo.io/u/thewaywest)\
**Replies:** 9\
**Last updated:** [September 18, 2025, 3:30pm UTC](https://discourse.gohugo.io/t/how-can-i-flag-a-page-that-is-a-fill-in-from-the-base-language/55835 "2025-09-18T15:30:34Z")

</div>

I am using module.mounts to fill in missing pages in a given language from existing pages in the base language. Is there a .Page flag that can tell me if a “fill-in” has occurred? .Page.IsTranslated and .Page.Translati…

---

## [How to make multilingual tags in sitemap link with hreflang like article translations?](https://discourse.gohugo.io/t/how-to-make-multilingual-tags-in-sitemap-link-with-hreflang-like-article-translations/55803)

<div class="topic-metadata">

**Author:** [@zhaozhaohong](https://discourse.gohugo.io/u/zhaozhaohong)\
**Replies:** 6\
**Last updated:** [August 28, 2025, 5:13pm UTC](https://discourse.gohugo.io/t/how-to-make-multilingual-tags-in-sitemap-link-with-hreflang-like-article-translations/55803 "2025-08-28T17:13:27Z")

</div>

Hi Hugo community, I’m working on a multilingual Hugo site, and I noticed an issue with tags in the sitemap. Each article has tags in its own language, for example: Article 1 (en): title: "Performance Optimization" ta…

---

## [Automating Language Translations in Hugo: Any Solutions?](https://discourse.gohugo.io/t/automating-language-translations-in-hugo-any-solutions/46674)

<div class="topic-metadata">

**Author:** [@gora](https://discourse.gohugo.io/u/gora)\
**Replies:** 8\
**Last updated:** [August 18, 2025, 6:59pm UTC](https://discourse.gohugo.io/t/automating-language-translations-in-hugo-any-solutions/46674 "2025-08-18T18:59:09Z")

</div>

Hello, everyone! In the world of automation, it doesn’t make sense to create individual .md files for each language which takes for ever as you increase the number of languages. So, I’m wondering if anyone has found a …

---

## [Title of categories page is not translated](https://discourse.gohugo.io/t/title-of-categories-page-is-not-translated/55359)

<div class="topic-metadata">

**Author:** [@farooqkz](https://discourse.gohugo.io/u/farooqkz)\
**Replies:** 2\
**Last updated:** [July 20, 2025, 6:04am UTC](https://discourse.gohugo.io/t/title-of-categories-page-is-not-translated/55359 "2025-07-20T06:04:04Z")

</div>

Hello. I have a Persian website. Here’s my website config: baseURL = 'https://blogfa.farooqkz.com/' languageCode = 'fa' defaultContentLanguage = "fa" title = 'فاروق' theme = "vitae" enableRobotsTXT = true copyright = "…

---

## [Numbers not being translated](https://discourse.gohugo.io/t/numbers-not-being-translated/55349)

<div class="topic-metadata">

**Author:** [@Hart\_Storm](https://discourse.gohugo.io/u/Hart_Storm)\
**Replies:** 1\
**Last updated:** [July 17, 2025, 8:37pm UTC](https://discourse.gohugo.io/t/numbers-not-being-translated/55349 "2025-07-17T20:37:05Z")

</div>

I am making a bilingual site. All numbers stay in Arabic numerals, even for translated pages. My language has its own set of symbols that I sure can use when making the ..md pages. But numerals in dates remain the same. …

---

## [How to retrieve and render content from a translation of the current page](https://discourse.gohugo.io/t/how-to-retrieve-and-render-content-from-a-translation-of-the-current-page/55242)

<div class="topic-metadata">

**Author:** [@malde11](https://discourse.gohugo.io/u/malde11)\
**Replies:** 15\
**Last updated:** [July 5, 2025, 2:52pm UTC](https://discourse.gohugo.io/t/how-to-retrieve-and-render-content-from-a-translation-of-the-current-page/55242 "2025-07-05T14:52:18Z")

</div>

Hi, I am building a small multiligual website at the moment and I want the same content on a different url. Like: examples.com/photos and example.com/fotos Both have the same content. Is there a way not to paste th…

---

## [Suppress the use of "lang" in front mattter](https://discourse.gohugo.io/t/suppress-the-use-of-lang-in-front-mattter/55228)

<div class="topic-metadata">

**Author:** [@MrHinsh](https://discourse.gohugo.io/u/MrHinsh)\
**Replies:** 4\
**Last updated:** [July 4, 2025, 12:48pm UTC](https://discourse.gohugo.io/t/suppress-the-use-of-lang-in-front-mattter/55228 "2025-07-04T12:48:23Z")

</div>

I have a bunch of pages that I also convert to PDF. Pandoc required the “lang” attribute but it: give a warning in hugo still overrides the default content if its not set correctly. When is this going to be removed fr…

---

## [Language switching on paginated pages problem](https://discourse.gohugo.io/t/language-switching-on-paginated-pages-problem/55121)

<div class="topic-metadata">

**Author:** [@tyco](https://discourse.gohugo.io/u/tyco)\
**Replies:** 5\
**Last updated:** [June 21, 2025, 8:50pm UTC](https://discourse.gohugo.io/t/language-switching-on-paginated-pages-problem/55121 "2025-06-21T20:50:15Z")

</div>

I am encountering an issue where if I am on a paginated page of a multilingual site, then the language switcher opens the homepage of the switched to language, not the corresponding paginated page. Is this by design?

---

## [Default language not sticking](https://discourse.gohugo.io/t/default-language-not-sticking/55049)

<div class="topic-metadata">

**Author:** [@MrHinsh](https://discourse.gohugo.io/u/MrHinsh)\
**Replies:** 2\
**Last updated:** [June 19, 2025, 8:34am UTC](https://discourse.gohugo.io/t/default-language-not-sticking/55049 "2025-06-19T08:34:39Z")

</div>

This must be a configuration issue but I just cant see it. Problem: The site defaults to English on the homepage, but the content page is in Klingon and has no english version. site/content/guide/index.md \<— engligh s…

---

## [Single page multi languages?](https://discourse.gohugo.io/t/single-page-multi-languages/55022)

<div class="topic-metadata">

**Author:** [@MrHinsh](https://discourse.gohugo.io/u/MrHinsh)\
**Replies:** 8\
**Last updated:** [June 12, 2025, 6:00pm UTC](https://discourse.gohugo.io/t/single-page-multi-languages/55022 "2025-06-12T18:00:54Z")

</div>

I have a “Downloads” page on my site that is translated with variables loaded from i18n. How can I get hugo to render /content/download/\_index.md for every language without creating a /content/download/\_index.de.md file…

---

## [Changing languages and remaining on the same page](https://discourse.gohugo.io/t/changing-languages-and-remaining-on-the-same-page/44031)

<div class="topic-metadata">

**Author:** [@Stevan\_Radovanovic](https://discourse.gohugo.io/u/Stevan_Radovanovic)\
**Replies:** 5\
**Last updated:** [June 8, 2025, 5:44pm UTC](https://discourse.gohugo.io/t/changing-languages-and-remaining-on-the-same-page/44031 "2025-06-08T17:44:28Z")

</div>

Hi everyone! My website is maintained in two languages (Serbian and English). I have a button in the header that switches the languages, with the following code \<li class="nav-item"\> {{ range $.Site…

---

## [Translating Section Names](https://discourse.gohugo.io/t/translating-section-names/26600)

<div class="topic-metadata">

**Author:** [@Schodemeiss](https://discourse.gohugo.io/u/Schodemeiss)\
**Replies:** 3\
**Last updated:** [June 8, 2025, 12:23am UTC](https://discourse.gohugo.io/t/translating-section-names/26600 "2025-06-08T00:23:23Z")

</div>

Hello, I can’t find any examples anywhere, so I thought here would be the place to ask. I have a Section on my site called “Music”, where each bit of content is an album or a release. I also have my site translated int…

---

## [Auto-translation with AI and DeepL API with Babeldown (YAML only)](https://discourse.gohugo.io/t/auto-translation-with-ai-and-deepl-api-with-babeldown-yaml-only/54931)

<div class="topic-metadata">

**Author:** [@JemmsUK](https://discourse.gohugo.io/u/JemmsUK)\
**Replies:** 1\
**Last updated:** [June 1, 2025, 11:27am UTC](https://discourse.gohugo.io/t/auto-translation-with-ai-and-deepl-api-with-babeldown-yaml-only/54931 "2025-06-01T11:27:00Z")

</div>

After much searching and considering building my own, I came across Babeldown for DeepL API AI translation. Looks amazing and I’m about to try it out. In the meantime does anyone else have experience with it? https://r…

---

## [Keep homepage in subdirectory](https://discourse.gohugo.io/t/keep-homepage-in-subdirectory/54699)

<div class="topic-metadata">

**Author:** [@reincarnated](https://discourse.gohugo.io/u/reincarnated)\
**Replies:** 5\
**Last updated:** [May 11, 2025, 5:20pm UTC](https://discourse.gohugo.io/t/keep-homepage-in-subdirectory/54699 "2025-05-11T17:20:05Z")

</div>

Hello everyone, I have been using hugo as my SSG since last year. With the latest update I am having a little trouble with the multi language directory structure. Previously my site was in English and had French and Germ…

---

## [Multilingual site with section in only one language](https://discourse.gohugo.io/t/multilingual-site-with-section-in-only-one-language/54634)

<div class="topic-metadata">

**Author:** [@sai\_lektiv](https://discourse.gohugo.io/u/sai_lektiv)\
**Replies:** 3\
**Last updated:** [May 5, 2025, 6:20pm UTC](https://discourse.gohugo.io/t/multilingual-site-with-section-in-only-one-language/54634 "2025-05-05T18:20:41Z")

</div>

Hi I have a multilingual site. (EN/DE) It has the following folder structure. content/blog/post1/index.md content/\_index.de.md content/\_index.en.md content/anothersite.de.md content/anothersite.en.md i18n/de.yaml i18n/…

---

## [Generate multilingual site without translated index/section pages](https://discourse.gohugo.io/t/generate-multilingual-site-without-translated-index-section-pages/54268)

<div class="topic-metadata">

**Author:** [@kewek](https://discourse.gohugo.io/u/kewek)\
**Replies:** 3\
**Last updated:** [April 9, 2025, 9:35am UTC](https://discourse.gohugo.io/t/generate-multilingual-site-without-translated-index-section-pages/54268 "2025-04-09T09:35:06Z")

</div>

Hi there, I have an existing monolingual site that I’m adding another language (French) to. I would like only occasional individual single pages to be in that language, and I would like the index page and list pages not…

[Next page](https://discourse.gohugo.io/tag/i18n/19.md?match_all_tags=true&page=1&tags%5B%5D=i18n)
