# Title of categories page is not translated

**URL:** <https://discourse.gohugo.io/t/title-of-categories-page-is-not-translated/55359>\
**Category:** support\
**Tags:** i18n\
**Created:** [July 18, 2025, 6:12am UTC](https://discourse.gohugo.io/t/title-of-categories-page-is-not-translated/55359 "2025-07-18T06:12:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![farooqkz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/farooqkz/32/24903_2.png) [@farooqkz](https://discourse.gohugo.io/u/farooqkz)\
**Post date:** [July 18, 2025, 6:12am UTC](https://discourse.gohugo.io/t/title-of-categories-page-is-not-translated/55359/1 "2025-07-18T06:12:26Z")

</div>

Hello. I have a Persian website. Here’s my website config:

```auto
baseURL = 'https://blogfa.farooqkz.com/'
languageCode = 'fa'
defaultContentLanguage = "fa"
title = 'فاروق'
theme = "vitae"

enableRobotsTXT = true
copyright = "(C) بعضی از حقوق مطلب‌ها تحت پروانهٔ CC-BY-SA 4.0 محفوظ است."

math = true
wordcount = true

[[params.social]]
name = "خوراک"
icon = "fas fa-rss"
url = "/index.xml"

[[params.social]]
name = "گیت‌هاب"
icon = "fab fa-github"
url = "https://github.com/farooqkz"

[[params.social]]
name = "ماستودون"
icon = "fab fa-mastodon"
rel = "me"
url = "https://cr8r.gg/@farooqkz"

[params]
languageDir = "rtl"
jalali = true
keywords = [
  "Farooq",
  "Farooq Karimi Zadeh",
  "farooqkz",
  "فاروق",
  "فاروق کریمی",
  "فاروق کریمی زاده",
]
math = true
favicon = true
avatar = "/mylogo0.png"
mainSections = ["bandari", "religion", "misc"]

[[menu.main]]
name = "خانه"
url = "/"
weight = 1

[[menu.main]]
name = "دسته‌بندی‌ها"
url = "/categories"
weight = 2

[[menu.main]]
name = "دربارهٔ من"
url = "/about-me"
weight = 3

```

My problem is that `mywebsite/categories` still has got an English title “Categories | فاروق”. Hints appreciated.

Edit: The template uses `{{ .Title }} | {{ .Site.Title }}`:

> **[hugo-vitae/layouts/partials/head.html at main](https://codeberg.org/farooqkz/hugo-vitae/src/branch/main/layouts/partials/head.html#L6)**
>
> hugo-vitae - Continued version of minimalistic Vitae theme for Hugo. Aims to have more features and RTL support.

---

<div class="post-metadata">

**Author:** ![irkode](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/irkode/32/26135_2.png) [@irkode](https://discourse.gohugo.io/u/irkode)\
**Post date:** [July 18, 2025, 4:08pm UTC](https://discourse.gohugo.io/t/title-of-categories-page-is-not-translated/55359/2 "2025-07-18T16:08:47Z")

</div>

all you other pages have a title set in fronmatter using persian characters.

1. create `content/categories/_index.html` with frontmatter only

2. To use your translation file you could change line 6 in the layouts to

---

<div class="post-metadata">

**Author:** ![farooqkz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/farooqkz/32/24903_2.png) [@farooqkz](https://discourse.gohugo.io/u/farooqkz)\
**Post date:** [July 20, 2025, 6:04am UTC](https://discourse.gohugo.io/t/title-of-categories-page-is-not-translated/55359/3 "2025-07-20T06:04:04Z")

</div>

Thanks for the solution. The 2nd solution seemed better for the theme/template.

---

<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:** [July 22, 2025, 6:05am UTC](https://discourse.gohugo.io/t/title-of-categories-page-is-not-translated/55359/4 "2025-07-22T06:05:26Z")

</div>

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