Update languages menu will be removed in Hugo 0.126.0

Hello

I have:

[languages]
  [languages.en]
    weight = 1
    languageCode = "en"
    languageName = "English"
    contentDir = "content/en"
    homeLiteral = "Home"
    paginatePath = "page"
	
    # Menu main config
    [languages.en.menu]
      [[languages.en.menu.main]]
        identifier = "about"
        pre = ""
        post = ""
        name = "Company"
        url = "/en/about/"
        weight = 1
	[[languages.en.menu.main]]
        identifier = "products"
        pre = ""
        post = ""
        name = "Products"
        url = "/en/products/"
        weight = 2

out: ERROR deprecated: config: languages.fr.homeliteral: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0. Put the value below [languages.fr.params]. See Multilingual mode | Hugo

But I don’t understand what I should do…,

Please, what is the new grammar?

Thank you very much

Move homeLiteral under [languages.en.params].

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