Skip to main content
pete.manzel
Inspiring
May 16, 2022
Answered

Multilingual Animation

  • May 16, 2022
  • 3 replies
  • 539 views

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 has been closed for replies.
    Correct answer TheOriginalGC

    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.

    3 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    May 19, 2022

    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

    TheOriginalGC
    Community Expert
    TheOriginalGCCommunity ExpertCorrect answer
    Community Expert
    May 17, 2022

    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.

    Community Expert
    May 19, 2022

    I agree with TheOriginalGC  he has the right idea here.

    Joseph Labrecque
    Community Expert
    Community Expert
    May 16, 2022

    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.