I guess it is possible. It seems to me it complicates things but perhaps I just did not run into your use case. We will discuss on the devlopers list, feel free to join.
On Wednesday, 10 February 2016 07:41:42 UTC-6, Carlos Cesar Caballero wrote: > > Hi Massimo, the Idea could be something like T('my string to translate', > 'place_to_find_it') so it will look directly to the needed translation > files (as other frameworks do). > > I was thinking that some kind of "production mode" that could put model > files and translations in memory like the config file or modules, could > significatly reduce the IO for apps in production and make web2py faster. > > Doing something like this is possible? > > El 09/02/16 a las 15:24, Massimo Di Pierro escribió: > > No there is not and doing so by default would slow down the app because > accessing the file system is a bottle neck. Yet is definitively possible to > build an app that extract the info from the dictionaries and rearranges > into multiple files and back. It would be a good exercise to write such an > app. > > On Tuesday, 9 February 2016 08:54:03 UTC-6, Carlos Cesar Caballero wrote: >> >> Hi, I have an app with lot of translation strings, and keeping all in >> one file is becoming a mess dificult to maintain, is there some way to >> do something like: >> >> translatios/ >> main/ >> default.py >> es.py >> ... >> breads/ >> default.py >> es.py >> ... >> species/ >> default.py >> es.py >> ... >> >> Or something similar to make easier the translation maintainance and >> reutilization? >> >> Greetings. >> >> >> -- >> Este mensaje le ha llegado mediante el servicio de correo electronico que >> ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema >> Nacional de Salud. La persona que envia este correo asume el compromiso de >> usar el servicio a tales fines y cumplir con las regulaciones establecidas >> >> Infomed: http://www.sld.cu/ >> >> -- > 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 > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > > -- 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 "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.