I changed the language code in the configuration file, but my site is still in English


Today is my first day using Hugo.
I followed the steps in the “Quick Start” page and I was able to build my blog and send it to my host.
Unfortunately, one thing is missing:
All the content is in english… this should not be happenning, because I wrote this in my config file, hugo.toml :

baseURL = 'http://www.lendonojardim.cyou/000-teste/public'
languageCode = 'pt-br'
defaultContentLanguage = "pt-br" 
title = 'lendo no jardim'
theme = 'ananke'

When I say “content”, I am not talking about the blog post, but such labels like: “Recent Posts”, “read more” , “posts”, and even the date format… the date formate should be “24 de junho de 2023” , but we read “June 24, 2023”…

My Hugo blog can be seen in the following address:


Can someone help me, please?


You are more likely to receive a prompt and accurate response if you post a link to the public repository for your project.

See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

Hello jmooring!

Thank you for your message!

I created a zip file, it can be downloaded in this link:



mkdir i18n
cp themes/ananke/i18n/pt.toml i18n/pt-br.toml

In your site configuration…

date_format = ':date_long'


1 Like

Hi again, jmooring!

Now it’s the perfection of the perfectioness perfect :clap::partying_face::tada::man_dancing:

Thank you!


1 Like

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