Re: [web2py] Language file on GAE

2017-05-16 Thread Karoly Kantor
Thank you, that's helpful. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web

Re: [web2py] Language file on GAE

2017-05-16 Thread Mathieu Clabaut
Couldn't yo run your application in a normal python environment (with a sqlite memory db for example) ? I'm doing that for quick testing phases, before testing in devapp server and in full GAe environment. Thus I'm able to produce the updated language files. Otherwise, I think there is a script or

Re: [web2py] Language file on GAE

2017-05-15 Thread Karoly Kantor
No, my language file is not updated. My local env is set to use Datastore. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message becau

Re: [web2py] Language file on GAE

2017-05-15 Thread Mathieu Clabaut
Yes. When manually visitting the website locally, the files are updated ans then will be uploaded to GAE when deploying. On Mon, May 15, 2017 at 4:53 PM Karoly Kantor wrote: > I understand web2py would generate my language file (e.g. it.py) in > runtime, except on GAE. Now, I am on GAE. > > What

[web2py] Language file on GAE

2017-05-15 Thread Karoly Kantor
I understand web2py would generate my language file (e.g. it.py) in runtime, except on GAE. Now, I am on GAE. What would be my best workaround? Could I somehow still force web2py update this file while I am local on my laptop? Without this, this piece of work becomes enormous... :-( -- Resou

[web2py] language detecting

2015-06-12 Thread lucas
hey everyone, via google analytics, i am getting an inordinate amount of traffic from russia. my site would not be of interest to russians. i have a list of IPs and net masks for dropping that traffic using iptables but for some reason i am still getting some russian traffic. how can i also

[web2py] language and localization development

2014-10-23 Thread Manuele Pesenti
Hi, maybe I'm wrong but it seams that during development I have to write messages in english using the translator and than write the corresponding translation in language file I intend to use. Is these a way of using another language during development maybe identifying it every times I use T e.g.

[web2py] Language selection and routing with pattern based router

2014-09-25 Thread Robin Manoli
Hey, I wonder if the feature for parameter based routing is also available or possible to implement with pattern based routing. As from what I can read, it does the following: - routes /app/lang/ctrl/func to /app/ctrl/func - sets request.uri_language to lang - routes /lang/static/file (shouldn't

[web2py] language/zh.py it's not Simplified Chinese,i changed it

2013-03-19 Thread RunSky ruan
# coding: utf8 { '!langcode!': 'zh-cn', '!langname!': '中文', '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"更新" 是选择性的条件式, 格式就像 "栏位1=\'值\'". 但是 JOIN 的资料不可以使用 update 或是 delete"', '%s %%{row} deleted': '已�h除 %s 条', '%s %%{row} upd

[web2py] language file fields - text or string?

2012-09-25 Thread Adi
If I remember well, previously language files displayed multi-line text input fields for longer strings, instead of one line. I deal with lot of translated text, and it is much easier to visually spot problems in text fields. Any possibility to re-introduce text fields in Languages where str

[web2py] language selector in layout.html

2012-07-05 Thread Fernando J
How is set a language selector in layout.html in order to any user may select any language during his session? Thanks in advance Fernando J.

Re: [web2py] Language in outgoing URLs

2012-06-24 Thread Jonathan Lundell
On Jun 24, 2012, at 2:41 AM, Ivan Nikiforov wrote: > I am creating a multilingual application and use this recipe to put language > in URLs. > > routers = dict( > BASE = dict(default_application='myapp'), > myapp = dict(languages=['en', 'it', 'jp'], default_language='en'), > ) > > It works

[web2py] Language in outgoing URLs

2012-06-24 Thread Ivan Nikiforov
I am creating a multilingual application and use this recipe to put language in URLs. routers = dict( BASE = dict(default_application='myapp'), myapp = dict(languages=['en', 'it', 'jp'], default_language='en'), ) It works fine for incoming URLs but the URL function does not add language t

[web2py] Language translations options

2012-04-24 Thread Bruce Wade
Hi, I have been noticing members having read errors on the server when trying to load the translation file as it is to large/or slow. Any suggestions on how to make this work as our language file only has 1407 lines in it. -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://ww

[web2py] language translation in web2py

2012-01-26 Thread Web2Py Freak
Dear All, How can i change the language of my website with a click of a button or how can i use the translation plugin in my site or can make Google translate my site

[web2py] language

2011-10-18 Thread Web2Py Freak
Dear All , I want to button the can change the language of the website ? Is it possible ? Best Regards.

Re: [web2py] Language selection

2011-05-10 Thread Marin Pranjic
You can use T.force('en') T.force('it') T.force('es') based on request.vars or arguments ex: http://myapp/?lang?es T.force(request.vars.lang) not sure how to do it with routes On Sun, May 8, 2011 at 11:47 PM, Miguel Morillo Iruela < asellus2...@gmail.com> wrote: > Hello, > > I wonder if it i

[web2py] Language selection

2011-05-08 Thread Miguel Morillo Iruela
Hello, I wonder if it is possible to "force" to use an specific language, while web2py perform the translation automatically based on user's browser language. This means that although, we use as a default language browser "English" we can choose our application in Spanish or Italian (ej: http://m

[web2py] Language Wars: Sign Up

2011-02-13 Thread Garrafa Pet 2 Litros
You should know tutsplus.com. Well, those guys are promoting a language competition for discuss about web development and I belive on web2py potential to be part of this discussion. On the other hand I'm not an expert in python or web2py, so I'm posting it here for who wants to participate. """ L

Re: [web2py] Language of the year

2011-01-24 Thread Richard Vézina
Here the orginal post I think... It is more complete. http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html Richard On Mon, Jan 24, 2011 at 7:49 AM, Jason Brower wrote: > Heh, it's crazy with numbers like that they .net is taught at my school and > python is not. > > > On Mon, 24 Ja

Re: [web2py] Language of the year

2011-01-24 Thread Jason Brower
Heh, it's crazy with numbers like that they .net is taught at my school and python is not. On Mon, 24 Jan 2011, Michele Comitini wrote: http://i-programmer.info/news/98-languages/1877-language-of-the-year.html "To the sound of the opening music to a well known classic comedy program I can rev

[web2py] Language of the year

2011-01-24 Thread Michele Comitini
http://i-programmer.info/news/98-languages/1877-language-of-the-year.html "To the sound of the opening music to a well known classic comedy program I can reveal that language of the year is Python with a 1.81% increase." cheers! mic

[web2py] Language File is Reseted when Server is Reseted

2010-10-06 Thread yamandu
Everytime I restart the we2py server my language file become in english again. What may cause this behavior?

[web2py] Language is Reseted when Server is Reseted

2010-10-01 Thread yamandu
I translate my pt-br.py but everytime I start the server again it loses the translation. What can be wrong?

Re: [web2py] language

2010-07-12 Thread Álvaro Justen
On Mon, Jul 12, 2010 at 10:50, mdipierro wrote: > About the web2py translation. > > User David on this list has suggested that we strip() strings to be > translated before translation. > This would break backward compatibility unless: > 1) we automatically convert existing strings in translations

[web2py] language

2010-07-12 Thread mdipierro
About the web2py translation. User David on this list has suggested that we strip() strings to be translated before translation. This would break backward compatibility unless: 1) we automatically convert existing strings in translations 2) we use an optional flag for strict translations What do

[web2py] language files can not edit directly

2010-06-27 Thread dlin
Q1. Languages file is not easy to edit by editor directly, because it translate the utf-8 into backslash numbers. I think the translate application should write out directly code instead of blackslash number. I've translated some zh-tw language sentences of welcome, could anyone help me to check

[web2py] language file problem

2010-03-31 Thread hamdy.a.farag
Hi I'm having a problem that was repeated too much sometimes the translation file , got messy while updating it with new translations translations are shifted from their proper place and thus you got un proper translations This also may have some side effects like making the whole application fail