# (solved) Problem listing languages in a correct order and switching to a language-specific page URL

**URL:** <https://discourse.gohugo.io/t/solved-problem-listing-languages-in-a-correct-order-and-switching-to-a-language-specific-page-url/12155>\
**Category:** support\
**Created:** [May 26, 2018, 6:01pm UTC](https://discourse.gohugo.io/t/solved-problem-listing-languages-in-a-correct-order-and-switching-to-a-language-specific-page-url/12155 "2018-05-26T18:01:25Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![martignoni](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/martignoni/32/5756_2.png) [@martignoni](https://discourse.gohugo.io/u/martignoni)\
**Post date:** [May 28, 2018, 8:37pm UTC](https://discourse.gohugo.io/t/solved-problem-listing-languages-in-a-correct-order-and-switching-to-a-language-specific-page-url/12155/9 "2018-05-28T20:37:39Z")

</div>

> [@Andrew-Schetinin](#):
>
> The last missing piece of the puzzle is now - how to construct links to the same page as the current page, just with a correct prefix by the given language.

Have a look at my code here, which could help

> [@Language switcher in menu](https://discourse.gohugo.io/t/language-switcher-in-menu/11570/5):
>
> I do it this way:

---

_[View the full topic](https://discourse.gohugo.io/t/solved-problem-listing-languages-in-a-correct-order-and-switching-to-a-language-specific-page-url/12155)._
