Skip to main content
pete.manzel
Inspiring
May 16, 2022 4:59 PM UTC
Answered

Multilingual Animation

Hi i would like to create a multilingual Animation (html5 canvas, js) with a startscreen where you can choose your language.

What would be best practice? Duplicate everything on the timeline and jump to the position according to the language?

 

As i am going to have a pretty large amount of content that would make a giant timeline.

Is there a more smart way?

 

Thanks for any help!

    This topic is closed to new replies. Start a new post to keep the conversation going.
    TheOriginalGC
    TheOriginalGCCorrect answer
    Community Expert
    May 17, 2022 1:17 PM UTC

    You might want to consider putting your dialog in a JSON file that can be loaded at the beginning and then, depending on the users's choice, load the appropriate dialog file that corresponds. Then you can avoid "hard coding" the language into the software.

    5 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    May 19, 2022 4:46 PM UTC

    Hi.

     

    This example may give you an idea of how to load a JSON file and change your text fields according to the selected language.

     

    https://community.adobe.com/t5/animate-discussions/multi-language-banner-load-variables-from-text-question-as3/m-p/12505484#M348816

     

    Regards,

    JC

    Translate
    TheOriginalGC
    Community Expert
    TheOriginalGCCommunity ExpertCorrect answer
    Community Expert
    May 17, 2022 1:17 PM UTC

    You might want to consider putting your dialog in a JSON file that can be loaded at the beginning and then, depending on the users's choice, load the appropriate dialog file that corresponds. Then you can avoid "hard coding" the language into the software.

    Translate
    Community Expert
    May 19, 2022 2:25 PM UTC

    I agree with TheOriginalGC  he has the right idea here.

    Translate
    Joseph Labrecque
    Community Expert
    Community Expert
    May 16, 2022 9:33 PM UTC

    You might look at loading in sounds from the Library based upon that selection and controlling them via code. You'll have to give each audio file in the Librarry its own Linkage ID. 

    Translate