binokochumolvarghese / lightbi-hugo

Lightbi is a minimal and clean blog theme for Hugo.
https://lightbi-hugo-theme.netlify.app/
MIT License
64 stars 36 forks source link

[Multilingual] Default Language #31

Open yakhyadabo opened 7 months ago

yakhyadabo commented 7 months ago

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 ?