I think I got it right. I forgot to add quotes for the strings to translate
in trans tag. Thank you all.
在 2014年2月11日星期二UTC-6上午8时24分52秒,Loutre写道:
>
> Well, according to a question on stackoverflow, this message appears when
> you don't have any message to translate in your app.. maybe you could
Thank you. It's working now. The strange thing is that I did have strings
to translate in the template but without strings to translate in py, it
complained like that. When I added something to translate in py, it works.
在 2014年2月11日星期二UTC-6上午8时24分52秒,Loutre写道:
>
> Well, according to a questio
Well, according to a question on stackoverflow, this message appears when
you don't have any message to translate in your app.. maybe you could check
it ?
Le mardi 11 février 2014 15:11:47 UTC+1, whitelotus a écrit :
>
> Yes it's installed. As follows, I'm using ubuntu12.04. Thanks.
>
> $sudo ap
Yes it's installed. As follows, I'm using ubuntu12.04. Thanks.
$sudo apt-get install gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
gettext is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded.
在 20
>
> Is gettext installed on your machine ?
>>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this grou
Hi,
Thank you for the help. I did have configured the LOCALE_PATHS in
setting.py, which looks:
85 LOCALE_PATHS = (
86 os.path.join(os.path.dirname(__file__), 'locale').replace('\\',
'/'),
hi maybe you need configure the setting put path for you locale dirs
LOCALE_PATHS = (
os.path.join(SITE_ROOT,'locale'),
)
https://docs.djangoproject.com/en/dev/ref/settings/#locale-paths
Cheers
On Mon, Feb 10, 2014 at 9:44 PM, whitelotus wrote:
>
> Hi, all,
>
> To create the message file
7 matches
Mail list logo