I want to have only one translation, the one set by the LANGUAGE_CODE
parameter to be available, no matter the browser settings. Django
checks the http header for accepted languages before the LANGUAGE_CODE
in the settings. Thus, I get the translation I want only when the
language is added to my browsers list of preferred languages.

But the browsers' language settings can be misleading in some cases.

I thought restricting the LANGUAGES will do, and add the following
lines to my settings, as suggested in the documentation:

gettext_noop = lambda s: s
LANGUAGES = (
    ('tr', gettext_noop('Turkish')),
)

but this doesn't solve the issue. Now I cannot get the translation
even when 'Turkish' is added to my browsers list of accepted
languages.

Thanks for any suggestions...
oMat


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to