I was following Django tutorial and after this step I started having this error when I try to run the local server:
~/django-project/mysite $ python3 manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
July 30, 2015 - 17:30:01
Django version 1.8.3, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7fe3e65b79d8>
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/django/utils/autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/commands/runserver.py", line 134, in inner_run
translation.activate(settings.LANGUAGE_CODE)
File "/usr/local/lib/python3.4/dist-packages/django/utils/translation/__init__.py", line 146, in activate
return _trans.activate(language)
File "/usr/local/lib/python3.4/dist-packages/django/utils/translation/trans_real.py", line 222, in activate
_active.value = translation(language)
File "/usr/local/lib/python3.4/dist-packages/django/utils/translation/trans_real.py", line 206, in translation
_translations[language] = DjangoTranslation(language)
File "/usr/local/lib/python3.4/dist-packages/django/utils/translation/trans_real.py", line 115, in __init__
self._init_translation_catalog()
File "/usr/local/lib/python3.4/dist-packages/django/utils/translation/trans_real.py", line 153, in _init_translation_catalog
translation = self._new_gnu_trans(localedir, use_null_fallback)
File "/usr/local/lib/python3.4/dist-packages/django/utils/translation/trans_real.py", line 136, in _new_gnu_trans
fallback=use_null_fallback)
File "/usr/lib/python3.4/gettext.py", line 416, in translation
raise OSError(ENOENT, 'No translation file found for domain', domain)
FileNotFoundError: [Errno 2] No translation file found for domain: 'django'
I looked over the internet but couldn't find a proper solution.
All I did was to create the folders and edit the files as explained on the tutorial, I couldn't see any relations with translation.
I tried to undo the changes that I made on the last step but got the same error again.
Thanks in advance,
Cagri