About forcing translation :

You will need to manually control translation with T.accepted_language I
guessm, Doc here :

http://web2py.com/books/default/chapter/29/04/the-core?search=T.accepted_language


if T.accepted_language.split('-')[0] == 'en':
    # english UI stuff
elif T.accepted_language.split('-')[0] == 'ar':
    # arabic UI stuff
etc.

Richard

On Mon, Jan 4, 2016 at 5:52 AM, Jörg Schneider <[email protected]>
wrote:

> At first I want to offer my help to translate the online book to German
> language (in the "books"-menu there is a translation of the Preface-Chapter
> of the 4th edition).
>
> Second one is a newbie-question (I'm not a programmer so please be patient
> with me and provide me with the right reading matter):
>
> I built a website with wiki pages (with help of the awesome online book).
> Because this website is meant to support refugees from Syria and from Iran
> we want to add extra pages with Arabic language and Farsi.
>
> A lot of the refugees don't use only there smartphones with their native
> language but also computers with german language settings. So I think it
> would be a good choice to add manual language choice for "session".
>
> Can anyone help with me with hints about how to use the built in wiki with
> different translations?
>
> Thnx!
>
> --
> 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.
>

-- 
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