#21055: Error when implementing unknown language
------------------------------+--------------------------------------
Reporter: beck | Owner: nobody
Type: Bug | Status: new
Component: Translations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------------+--------------------------------------
Comment (by bouke):
How can I reproduce the problem? I've tried with the example below, but
that seems to be working allright.
{{{
from django.conf import settings
settings.configure(
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}
)
from django.utils.translation.trans_real import activate, gettext
activate('iu-ca')
print(gettext('Hello, world.'))
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21055#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.2f93d550ac20506e02e26ac37f67eab1%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.