Open alvarotrigo opened 6 years ago
The only option I found to solve it is creating a dummy default language, then i would get the one I would like as default in the en
folder with the translated text.
But this seems to be some kind of bug... the default language doesn't seem to be working at all.
I've created a folder called
pages
outside _posts. In the root directory. This way I would expect the files insidepages
to be created as folders in the_site
folder.For example:
Should create:
Consider that
en
is the default language andes
the secondary one, as defined in theconfig.yml
file:What I found is that both files are created (
_site/demo/index.html
and_site/es/demo/index.html
) but only one of them, the one in thees
folder contains the translated text. The other one doesn't even contain any text that is suppose to be translated.The file
page/demo.html
contains the followingAnd the
_i18n
folder contains two files,en.yml
andes.yml
both containing:What is going on? Why the content of the default language is not being translated at all?