Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Multilingual Animation

Community Beginner ,
May 16, 2022 May 16, 2022

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!

598
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 17, 2022 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.

Translate
Community Expert ,
May 16, 2022 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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 17, 2022 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2022 May 19, 2022

I agree with TheOriginalGC  he has the right idea here.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 19, 2022 May 19, 2022

I´ve never used JSON Files to dynamicaly load something.

I will look for a tutorial.

 

Thanks for the hint.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 19, 2022 May 19, 2022
LATEST

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-qu...

 

Regards,

JC

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines