On Sep 21, 9:10 am, Martin Webb <[email protected]> wrote: > In aptana if i right click on my project under the package explorer - i do > have > a "command line shell" is that where i run these commands from? > Thanks again! > > 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 > > ________________________________ > From: Niklasro <[email protected]> > To: Google App Engine <[email protected]> > Sent: Tue, 21 September, 2010 9:55:20 > Subject: [google-appengine] Re: 118 languages set-up help - python > > On Sep 21, 12:49 am, Martin Webb <[email protected]> wrote:> using google > app in python - not tipify, > > > Can anyone offer any decent info / help on how to get 118 working so i can > >build > > translations. i know tipify does this. Can i use the 118 module in my non > >tipify > > app. How do i do this. > > > I want to be able to get translations from code and also through django > > template. > > > Regards > > > Martin Webb > > Here's a Google App Engine i18N blogpost with a request handler you > can use that worked for > me.http://makeyjl.blogspot.com/2009/02/using-djangos-i18n-in-google-app-... > You can combine the translation already with the SDK with your own > translation in directory conf/LC_MESSAGES/<languagecode> > For a look how I switch between 40 languages you're welcome open this > source montao.googlecode.com and browse the .po and .mo files you > compile with compile-messages to add or replace .po and .mo already > bundled with GAE. > best wishes > Niklas R > > -- > 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 > athttp://groups.google.com/group/google-appengine?hl=en. All I did was paste and inherit the request handler. I agree making an example project could be helpful. My sources are public if it helps (demo in greek http://www.montao.com.br/upload?hl=el) It takes hl=el parameter for exmple for greek and optionally adds your own .po file in addition to translations the SDK already can. I hope I18N works for you since setting up translations required research a bit. Best wishes Niklas
-- 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.
