Thanks, for some reason en_GB works (but not en-gb) and I don't see a en_GB
stub under django/conf/locale. So it seems it works in a mysterious way

-Aaron

On Thu, Apr 22, 2010 at 12:24 PM, Ramiro Morales <cra...@gmail.com> wrote:

> On Thu, Apr 22, 2010 at 3:48 PM, Aaron Lee <waifun...@gmail.com> wrote:
> > Hi,
> >
> > I am trying to create a UK version of my site and ran into some problems.
> > I am manually setting my LANGUAGE_CODE to 'en-gb' and use
> > django-admin.py makemessages -l en-gb and then run compilemessages
> >
> > For some reason it's not picking up the localised string, I am pretty
> sure
> > my setup is correct because I did the same experiment for uk (Ukraine).
> >
> > Looking at Django's conf/locale I couldn't find an example of Great
> Britain
> > English translation setup. Any idea what may go wrong? Thanks
>
> Make sure you are creating a stub en-gb translation for Django. See the
> second note box ("Locale restrictions") here:
>
>
> http://docs.djangoproject.com/en/1.1/topics/i18n/localization/#topics-i18n-localization
>
> --
> Ramiro Morales  |  http://rmorales.net
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

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

Reply via email to