Results 1 to 5 of 5

Thread: How to get the language set for my web app in my program

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264

    How to get the language set for my web app in my program

    In the top right Browser corner of my web app I can set the language my website.
    However, I receive not translated my own (few) texts. But I need it in more then 10 languages.
    Therefore I want to do this with case statements.
    (The procedure with the translations database: I would have to create a table for each language. This effort seems to big)

    Thanks in advance!
    George

  2. #2
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,842
    Hi Georg,

    What are you referring to here, can you give an example / more details?

    I receive not translated my own (few) texts
    Regards,

    Yvonne

  3. #3
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264
    >> I receive not translated my own (few) texts <<

    If I have set a certain language in the upper right corner of the browser, Lianja texts like "Previous Record" and "Edit Record" also appear in this language.
    But my texts, for example in labels or captions, are not translated. I have to take care of that myself. To do this, I need to know which language is set in the browser. How can I determine that? That was my question.

  4. #4
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,842
    Hi Georg,

    Check the value of:

    Code:
    Lianja.App.lang
    Regards,

    Yvonne

  5. #5
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264
    Thank you Yvonne!

    (And I have to use isserver() together with it.)

    I can't find a docu for Lianja.App.lang

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us