binokochumolvarghese / lightbi-hugo

Lightbi is a minimal and clean blog theme for Hugo.

Home Page:https://lightbi-hugo-theme.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Multilingual] Default Language

yakhyadabo opened this issue · comments

Hi,

I'm deploying a multilingual website. I have the following lines in my config.toml to set default language to French (fr):

defaultContentLanguage = 'fr'
defaultContentLanguageInSubdir = true

... 

[languages]
    [languages.fr]
        contentDir = 'content/fr'
        publishDir = "public/fr"
        disabled = false
        languageCode = 'fr'
... 
    [languages.en]
        contentDir = 'content/en'
        publishDir = "public/en"
        disabled = false
        languageCode = 'en'
...

But, unfortunately, the default is set to English.

Is there any details I miss ?