I have a question about using ugettext and ugettext_lazy
for translations.
I learned that in models I should use ugettext_lazy
, while in views ugettext.
But are there any other places, where I should use ugettext_lazy
too? What about form definitions?
Are there any performance diffrences between them?
Edit:
And one more thing. Sometimes, instead of ugettext_lazy
, ugettext_noop
is used. As documentation says, ugettext_noop
strings are only marked for translation and translated at the latest possible momment before displaying them to the user, but I'm little confused here, isn't that similar to what ugettext_lazy
do? It's still hard for me to decide, which should I use in my models and forms.