--- title: AllTranslations description: Returns all translations of the given page, including the current language, sorted by language weight then language name. categories: [] keywords: [] params: functions_and_methods: returnType: page.Pages signatures: [PAGE.AllTranslations] --- With this project configuration: {{< code-toggle file=hugo >}} defaultContentLanguage = 'en' [languages.en] contentDir = 'content/en' label = 'English' locale = 'en-US' weight = 1 [languages.de] contentDir = 'content/de' label = 'Deutsch' locale = 'de-DE' weight = 2 [languages.fr] contentDir = 'content/fr' label = 'Français' locale = 'fr-FR' weight = 3 {{< /code-toggle >}} And this content: ```text content/ ├── de/ │ ├── books/ │ │ ├── book-1.md │ │ └── book-2.md │ └── _index.md ├── en/ │ ├── books/ │ │ ├── book-1.md │ │ └── book-2.md │ └── _index.md ├── fr/ │ ├── books/ │ │ └── book-1.md │ └── _index.md └── _index.md ``` And this template: ```go-html-template {{ with .AllTranslations }}