Thanks Marin, can you provide me with an example of a translated controller
and function using routes?
On Tuesday, October 22, 2013 6:38:32 PM UTC+1, Marin Pranjić wrote:
>
> You can't translate a controller name, but you can use routes to map
> translated name into original one.
> The same is for functions.
> Table names and fields can be translated easily using
> T('string_to_translate')
>
> Marin
>
>
> On Tue, Oct 22, 2013 at 7:25 PM, Francisco Costa
> <[email protected] <javascript:>> wrote:
> > Is it possible to translate a controller name, without to copy the all
> code
> > to a different controller name?
> >
> > And a function name?
> >
> > What about table names and fields?
> >
> > --
> > 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/groups/opt_out.
>
--
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/groups/opt_out.