Showing results 1 to 5 of 5

Thread: Detect Language Change

  1. #1

    Frage Detect Language Change

    Hello All,

    I want to understand the "Language in Runtime" with C#. According the language changes in the Runtime i have to change texts in a C# windows form. Is that possible without dummy internal variables etc.?

  2. #2
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Detect Language Change

    You can find a sample at:
    Manual -> Programming interfaces -> Object model -> Project -> String

    regards,
    herbert


  3. #3

    Default Re: Detect Language Change

    Quote Originally Posted by herberto View Post
    You can find a sample at:
    Manual -> Programming interfaces -> Object model -> Project -> String

    regards,
    herbert
    Hi herbert,
    This is a nice solution but i cannot use the language table for this Windows form. We can say that it is an add-on program with its own texts(very long ones).
    I just want to know the current language in the runtime

  4. #4
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Detect Language Change

    so if you are using in the zenon runtime the functionality of language switching (i.e english, french, .... whatever) and on changing from english to french you now want to notified which language is active?
    -> if so, then you can do the following:

    together with executing the language change function in the zenon runtime (i.e to french) you also set a integer variable with a value. the value of this variable then represents the language (i.e. 1=english, 2=french,... )

    If you want to know in which language the zenon runtime itself was started (the standard languages like german, english, french, chinese, italian,.... ) then you can read out this laguage from the zenon6.ini

    [DEFAULT]
    LANGUAGE=GERMAN

    regards,
    herbert


  5. #5

    Default Re: Detect Language Change

    Thank you herberto. I will go on this way maybe.

Similar Threads

  1. Version&Language
    By junzai1002 in forum zenon Supervisor
    Replies: 1
    Last Post: 10th January 2013, 10:10
  2. language for ZenonCERT
    By yara in forum zenon Operator
    Replies: 2
    Last Post: 21st February 2011, 13:28
  3. Change Language with user login
    By affoltep in forum zenon Supervisor
    Replies: 6
    Last Post: 23rd April 2010, 10:03
  4. How to detect the value of a variable is stagnant or not?
    By lephis in forum zenon Supervisor
    Replies: 2
    Last Post: 8th March 2010, 09:01
  5. the filters is displayed in other language
    By shahramkh59 in forum zenon Supervisor
    Replies: 2
    Last Post: 26th April 2009, 10:33

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •