I need to use a lazy translation, but I also need to make a translation - how to deal with it?
This code does what I need:
print ugettext_lazy('Hello world!')
Now I want to combine the two lazy translations together and translate them separately (now I wonβt work and why, but I want to have two lines of translation).
print ugettext_lazy('Hello world!') + ' ' + ugettext_lazy('Have a fun!')
I can make such code, but it generates more translation than necessary.
print ugettext_lazy('Hello world! Have a fun!')
Is it possible to have two lines of translation and a lazy translation?
source share