0๐
On Linux, make sure you install language-pack-xx
package, e.g.
sudo apt-get install language-pack-en
in order to provide English translation data updates for all supported packages (including Python).
Then make sure to set your locale settings right before running your script from the terminal, e.g.
$ locale -a | grep "^en_.\+UTF-8"
en_GB.UTF-8
en_US.UTF-8
$ export LC_ALL=en_GB.UTF-8
$ export LANG=en_GB.UTF-8
Docs: man locale
, man setlocale
.
๐คkenorb
- [Answer]-Template tags for static content in django performance issue?
- [Answer]-How to manage media files on Windows?
- [Answer]-Django Model/Database Design
- [Answer]-Django get_absolute_url blank
- [Answer]-Errno 13: Permission denied: '/hello'
Source:stackexchange.com