On Mar 21, 8:08 pm, Emilis Kuke <[email protected]> wrote:
> Hello!
>  I spend more than few hours using google and reading django and
> google app engine documentation, but I couldn't find solution for my
> problem. So I expect maybe somebody could helps me.
>
> So I have model:
> class Advertisement(db.Model):
>   name = db.StringProperty(required=True,verbose_name=_(u'First
> name'))
>
> ModelForm:
> class GiftForm(djangoforms.ModelForm):
>   class Meta:
>     model = Advertisement
>
> And template form
>
> {{form.as_p}}
>
> The problem is that "First name" label translates only when I change
> settings.py LANGUAGE_CODE value. All other parts of view works
> correctly out of the box. So I suppose that problem isn't django. Any
> suggestions?
An i18n languagepack http://montao.googlecode.com/files/i18n.tar.gz
seemingly enables switching languages towards user combining engine
translation with my translation you may look if you like

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to