# I just found a typo in a Hugo Documentation page

**URL:** <https://discourse.gohugo.io/t/i-just-found-a-typo-in-a-hugo-documentation-page/29836>\
**Category:** Uncategorized\
**Created:** [December 6, 2020, 1:08pm UTC](https://discourse.gohugo.io/t/i-just-found-a-typo-in-a-hugo-documentation-page/29836 "2020-12-06T13:08:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lang-yao](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/lang-yao/32/12919_2.png) [@lang-yao](https://discourse.gohugo.io/u/lang-yao)\
**Post date:** [December 6, 2020, 1:08pm UTC](https://discourse.gohugo.io/t/i-just-found-a-typo-in-a-hugo-documentation-page/29836/1 "2020-12-06T13:08:45Z")

</div>

in this page:[Configure Hugo Page](https://gohugo.io/getting-started/configuration/)  
at the **Configuration Directory** part, there is `menus.zh.toml` but it should be `menus.zh-cn.toml` 😄

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/2X/0/0b21b89f1b377e1876f0ab75c5c418d16b7a8cc4.png)

---

<div class="post-metadata">

**Author:** ![davidsneighbour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/davidsneighbour/32/24507_2.png) [@davidsneighbour](https://discourse.gohugo.io/u/davidsneighbour)\
**Post date:** [December 6, 2020, 1:14pm UTC](https://discourse.gohugo.io/t/i-just-found-a-typo-in-a-hugo-documentation-page/29836/2 "2020-12-06T13:14:46Z")

</div>

This might not be really wrong, because in Hugo you can name your language the way you want. that slug can be everything (klingon, pirate), as long as you define it as language in the configuration. Have a look here:

> **[Multilingual Mode](https://gohugo.io/content-management/multilingual/#configure-languages)**
>
> Hugo supports the creation of websites with multiple languages side by side.

That little two character part is the first level below the `languages` section. So `pt` would be wrong (in the sample in the linked page above), but the other languages are ok with just 2 characters.

---

<div class="post-metadata">

**Author:** ![lang-yao](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/lang-yao/32/12919_2.png) [@lang-yao](https://discourse.gohugo.io/u/lang-yao)\
**Post date:** [December 7, 2020, 6:41am UTC](https://discourse.gohugo.io/t/i-just-found-a-typo-in-a-hugo-documentation-page/29836/3 "2020-12-07T06:41:02Z")

</div>

@davidsneighbour. Thanks , i forgot it. i have used a theme which all of them were `zh-cn`. 😅

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [December 9, 2020, 6:41am UTC](https://discourse.gohugo.io/t/i-just-found-a-typo-in-a-hugo-documentation-page/29836/4 "2020-12-09T06:41:05Z")

</div>

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