This is a problem of the UI to be created within the new web3py/applications/_dasboard for editing the translation json. Or where you thinking of a syntax for mapping translated strings to separate files. It seems an nu-necessary complication.
On Tuesday, 30 April 2019 06:39:39 UTC-7, Carlos Costa wrote: > > Looks nice! > > What would be the best approach to translate phrases and longer texts? > > Em seg, 29 de abr de 2019 às 10:59, Carlos Cesar Caballero Díaz < > carlos.caball...@cfg.jovenclub.cu> escreveu: > >> It looks good!! I can work to support categories if you think it worth >> it. Allow something like T("string", "category") or T("string", >> cat="category"). A category would map to an specific folder of json >> internationalization files, if there is no category specified, it will map >> to a default category. Something like this would make the translations >> reutilization easier. >> >> Greetings. >> El 26/4/19 a las 1:53 a.m., Massimo Di Pierro escribió: >> >> web3py now uses this: >> >> https://pypi.org/project/pluralize/ >> https://github.com/web2py/pluralize >> >> thoughts? comments? >> >> -- >> 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. >> > > > -- > At. > > Carlos J. Costa > -------------------------------------------------------------- > Cientista da Computação - Esp. Gestão em Telecom > -- 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.