Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Any plan for complete multilingual template ? #99

Open
statnmap opened this issue Aug 27, 2017 · 0 comments
Open

Any plan for complete multilingual template ? #99

statnmap opened this issue Aug 27, 2017 · 0 comments

Comments

@statnmap
Copy link

I like your theme but I would like to migrate my complete multilingual website into Hugo.
Documentation of Hugo gives some clues on how to do it: https://gohugo.io/content-management/multilingual/
I tried to modify all occurences of absURL to absLangURL and {{ .URL }} to {{ .URL|absLangURL }}, but it seems it is not enough. I cannot use multilingual menu and articles are not linked together.

[Languages]
[Languages.en]
title = "StatnMap_en"
weight = 1

[[Languages.en.params.menu]]
before = true
link    = "/"
label   = "Home"
weight = 0

[Languages.fr]
title = "StatnMap_fr"
weight = 2

[[Languages.fr.params.menu]]
before = true
link    = "/accueil/"
label   = "Accueil"
weight = 0

Are there any plans for you to allow this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant