Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    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 a 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
    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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.