Auto reload does not work for translations

Hello All,

I was redirected from auto reload does not work for translations · Issue #9873 · gohugoio/hugo · GitHub

Thing is my translated content do not auto reload in 0.98.0. It works OK in 0.96.0

I’ve managed an example here GitHub - agaoglu/hugo-autoreload-example

To reproduce the issue:

  1. Make sure you have hugo v0.98.0.
  2. Clone the repo
  3. hugo server -D
  4. go to localhost:1313/tr/posts/my-first-post/
  5. edit and save the file in content/tr/posts/
  6. browser is auto reloaded but content not up-to-date

Thanks for any pointers


This system uses different content directories for each of the languages.

Your current structure is:

├── posts/
│   └──
└── tr/
    └── posts/

It should be this:

├── en/
│   └── posts/
│       └──
└── tr/
    └── posts/

With this site configuration:

contentDir = 'content/en'
languageCode = 'en-US'
languageName = 'English'
weight = 1

contentDir = 'content/tr'
languageCode = 'tr-TR'
languageName = 'Türkçe'
weight = 2

Although your mis-configuration may have worked with an earlier version, it is not supported.

1 Like

I had added the second language after the english version was complete.
I had assumed it would work as the default language in the default content dir.
I’ll just move them now accordingly.


1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.