This is a known issue, related to pagination:
https://github.com/gohugoio/hugo/issues/4507
Your language switcher code is probably something like:
{{ with .AllTranslations }}
<p>Translations:
{{ range . }}
<a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a>
{{ end }}
</p>
{{ end }}
In this code .RelPermalink
will not include the pager path.
This behavior is not specific to the multipage article recipe that I provided in topic #29161.
For an alternate implementation of multipage posts that does not use Hugo’s pagination feature, see this example:
git clone --single-branch -b hugo-forum-topic-40858 https://github.com/jmooring/hugo-testing hugo-forum-topic-40858
cd hugo-forum-topic-40858
hugo server
This approach uses .Pages.Next
and .Pages.Prev
to build the navigation from one page to the next.