Menu items in config.toml seem not translatable

Menu items defined in config.toml

[[menu.main]]
name = "Blog"
url = "blog"
weight = 3

Seem to be outside of the multi language realm. How can I translate Blog in different languages?
Is this a problem with the Vex-hugo template or am I overlooking something? Thank you

Hi @Houman,

You can translate the menu by using the proper syntax in the config file:

[[Languages.en.menu.main]]
name = "Homepage"
weight = 1

You need to remove the [[menu.main]] items and replace them with one item for each translation you have. Be sure to add these items under the section where you define languages.

1 Like

Perfect. Thank you!

Sorry @gethugothemes ,

What about meta description on home page?

########################### Default parameters ##########################
[params]
logo = "images/logo.png"
# Meta data
description = ""

I tried this but didn’t succeed.

[[Languages.ar.params]]
    logo = "images/logo.png"
    # Meta data
    description = "test"

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