Thank you Leonel.
2016-10-04 11:19 GMT+01:00 Leonel Câmara :
> I have solved this problem in 2 different ways. Depending on your need,
> you pick one.
>
> Option 1 "have an extra translation table" can look something like this
>
> LANG = T.accepted_language if
I have solved this problem in 2 different ways. Depending on your need, you
pick one.
Option 1 "have an extra translation table" can look something like this
LANG = T.accepted_language if T.accepted_language in SUPPORTED_LANGUAGES
else 'en'
db.define_table('tag',
format=lambda r: db(
2 matches
Mail list logo