On Tuesday, April 30, 2019 at 6:39:39 AM UTC-7, Carlos Costa wrote:
>
> Looks nice!
>
> What would be the best approach to translate phrases and longer texts?
>


I think a recent answer was that for static text, especially paragraph and 
page length pieces, was to not try to use T(), but to keep the 
pre-translated text on hand and display it (in a DIV or as a stand-alone 
page).  Use of either myapp/static or a BLOB in the database was the 
consensus.

/dps


> Em seg, 29 de abr de 2019 às 10:59, Carlos Cesar Caballero Díaz <
> [email protected] <javascript:>> 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 [email protected] <javascript:>.
>> 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 [email protected] <javascript:>.
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to