Retrieving a text of certain language from textlist.

2023-07-26
2023-07-26
  • jari-koivuluoma - 2023-07-26

    Well there you have it. Is this possible?

    The TLU.GetText only retrieves the text of the selected language but I would like to get a text of the language of my choosing.

    I guess I could try change the VisuElems.CURRENTLANGUAGE variable temporarily to the desired language just before the retrieve and then change it back after.

    Would it start to change the visualisation language only if its still changed once the visu task starts?

     

    Last edit: jari-koivuluoma 2023-07-26
  • jari-koivuluoma - 2023-07-26

    It seems that this does not work.

    It works if I put a breakpoint right after the temporary change of the VisuElems.CURRENTLANGUAGE variable but not regularly. Maybe the visu task runs while the main task is halted and loads the text of the new current language to memory.

    It seems that there is a method to manually load the text but it sounds awfully inefficient to load large text files that way.

    Any ideas?

     

    Last edit: jari-koivuluoma 2023-07-26
  • jari-koivuluoma - 2023-07-26

    DELETE THIS

     

    Last edit: jari-koivuluoma 2023-07-26

Log in to post a comment.