Nik I have it all working what i dont have is information on how to run the shell commands to make/compile messages on Windows
PYTHONPATH=/path/to/googleappengine/python/lib/django/ /path/to/googleappengine/python/lib/django/django/bin/make-messages.py -l en The above command is for linux - what/ and how do i run the comands in windows??? Regards Martin Webb ________________________________ From: Niklasro <[email protected]> To: Google App Engine <[email protected]> Sent: Mon, 11 October, 2010 14:09:39 Subject: [google-appengine] Re: django i18n complie messages i18n works here with .po file like <app-name>/conf/locale/sv/LC_MESSAGES/django.po for Swedish, then just run compile-messages and restart dev_appserver updates the translations. I hope it will work for you too. Niklas On Oct 10, 7:29 pm, Martin Webb <[email protected]> wrote: > i have set up django i18n - with app engine - and it works - but i cant compile > the messages etc. > To be honest i dont understand how i run the commands. > Im using aptanna. From the project explorer if i right click i can run the > command like > it is already in my apps root folder > so i assume i type python to run the python shell which works > but then i cant see to get anywhere. > > acording to these instructions: > >http://code.google.com/p/yjl/source/browse/GoogleAppEngine/yjltest/i1...http://www.djangoproject.com/documentation/0.96/i18n/http://bazaar.launchpad.net/~itt-devs/issuetrackertracker/main/revisi... >. > > i need to do something like: > > # To generate a new language for the first time > > python2.5 ../google_appengine/lib/django/django/bin/make-messages.py -l en > > # To compile all languages > python2.5 ../google_appengine/lib/django/django/bin/compile-messages.py > > # To update all languages > python2.5 ../google_appengine/lib/django/django/bin/make-messages.py -a > or > > bin/complie-messages.py > > but none of these commands or vairiants work. > > Can anyone tell me what/or where i am going wrong. > > I am using aptanna. python app engine. The three links above give varios > different suggestions on how this is done. > > Regards > > Martin Webb > > The information contained in this email is confidential and may contain > proprietary information. It is meant solely for the intended recipient. Access > to this email by anyone else is unauthorised. If you are not the intended > recipient, any disclosure, copying, distribution or any action taken or omitted > in reliance on this, is prohibited and may be unlawful. No liability or > responsibility is accepted if information or data is, for whatever reason > corrupted or does not reach its intended recipient. No warranty is given that > this email is free of viruses. The views expressed in this email are, unless > otherwise stated, those of the author -- 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. -- 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.
