eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.46k stars 314 forks source link

locale problem in django 1.6.11 #263

Closed andpozo closed 7 years ago

andpozo commented 7 years ago

I was define my config.json as:

{
  "locale": "es"
}

when I execute from command line:

$ cactus messages:make

the result is locale with two folders inside:

e/    s/

NOTE: if the language code is 'en'... the folders would are "e/ n/"

m-thielen commented 7 years ago

This is due to a bug in cactus. A simple workaround is:

django-admin.py makemessages -l es

This will update/create the po file for you.

m-thielen commented 7 years ago

I provided a fix and created a pull request for this bug: https://github.com/eudicots/Cactus/pull/267