Re: Detail View Question

2014-05-07 Thread visionary800
I am not sure my first reply worked, but here it goes again. Your template is using {{ post.NAME }} when I believe it should be using {{ customer.NAME }}. The context name that is used in the template is obtained by default from the model and in your case, you are using model= Customer. If you

Re: makemessages doesn't understand I'm reusing Django existing translation messages

2014-05-30 Thread visionary800
My recent experience with using django-admin.py makemessages is that this command only works when there is a subdirectory present named 'locale' that sits just below where you are executing this command. Without a 'locale' subdirectory present, the command will raise an error. I think by desig

django ugettext translation glitch or as designed?

2014-05-30 Thread visionary800
I am running into a challenge. For both examples below everything is good except when I move the ugettext() to a separate file. Good: After running the django-admin.py makemessages -l es, both examples produce the appropriate .po file. Good: I change ../locale/es/LC_MESSAGES/django.po

Re: django ugettext translation glitch or as designed?

2014-05-30 Thread visionary800
Sorry for the large text... I forget to change it - I guess I am going blind :-) On Friday, May 30, 2014 6:51:35 PM UTC-7, visionary800 wrote: > > I am running into a challenge. For both examples below everything is good > except when I move the ugettext() to a separate file. >

Re: django ugettext translation glitch or as designed?

2014-05-30 Thread visionary800
Thank you Ramiro! That was it - I changed to ugettext_lazy() and it worked! I want to separate the text from the templates - this is why I want to place the text in a separate file. Placing the text within the template is a d What approach should I take to just separate the text from from the

Internationalize: Get two things to happen when you select a language: set the language and redirected to a different part of the site

2014-06-19 Thread visionary800
I am stumped. I am not sure how to approach this. I think its best if I describe what I would like to happen then I would greatly appreciate some recommendations. *Imagine this...* You go to www.mysite.com and you are presented solely with two buttons(and nothing else): [Enter in English] | [

Re: Internationalize: Get two things to happen when you select a language: set the language and redirected to a different part of the site

2014-06-19 Thread visionary800
> > Resolved. The solution was staring right at me (0^0) the whole time n the > template language. I figured it out upon reading further down on the > documents. > https://docs.djangoproject.com/en/1.6/topics/i18n/translation/#miscellaneous -- You received this message because you are sub