Skip to Content
author's profile photo
Former Member

UI: Multilingualism

Hi all,

has enyone knowledge, how to make my add-on language independent? I think, there is a way by using resource string, but no idea, how to use it.

Best regards

Libor Mego.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Jul 13, 2004 at 10:11 AM

    Hi

    There is currently no easy way of doing it as far as I can see. The UI documentation suggests using a different XML document for each language you are trying to support and then using oCompany.Language to find out which document to load.

    I think its a bad solution, since it requires alot of maintenance.

    Instead I have tried another solution.

    The problem is,.. when you run loadbatchaction the form becomes visible, so it will show up with the language that was in the xml file you loaded. It looks awfull if you use the form object to change the texts after it has become visible.

    So,... only possible solution is to change the texts in the XML object before loadbatchaction. Its a bad solution, but it works ...

    I hope a better solution will be available for us later, because editing the XML object directly is difficult and makes the load process slow.

    Yours Sincerely

    Mikael Kiilerich

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      It is not necessary to let the form become visible when you run LoadBatchAction. If you set the form property visible="0" in the XML, it will be invisible by default. This can be helpful if you are making changes of any type before presenting it to the user.

  • author's profile photo
    Former Member
    Posted on Jul 13, 2004 at 03:22 PM

    Hi,

    I need my Add-on appers in 4 languages. I think, one possibility is to create 4 different versions of Add-on with differences in form's object-captions or user-messages. It's not aet_LanguageChanged event sensitive, but still possible and workable 😊

    Regards

    Libor.

    Add comment
    10|10000 characters needed characters exceeded