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

Multi lingual HTML animation

Participant ,
Jul 23, 2020 Jul 23, 2020

Copy link to clipboard

Copied

Hi Team

I am developing a HTML animation which has 2D content, voice over, subtitles and a few videos.

The voice overs are going to be in many languages. Is there a way to change only the language at the flick of a button instead of creating the animation repeatedly in different languages?

Best Regards

Views

133

Translate

Translate

Report

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 ,
Jul 25, 2020 Jul 25, 2020

Copy link to clipboard

Copied

yes, if you use code to play the audio.

Votes

Translate

Translate

Report

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
Participant ,
Jul 25, 2020 Jul 25, 2020

Copy link to clipboard

Copied

Hi kglad

 

Thanks for your post. Possible to share a sample code?

 

Best Regards

Votes

Translate

Translate

Report

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 ,
Jul 25, 2020 Jul 25, 2020

Copy link to clipboard

Copied

if you have narrations in your library with linkage id = englishID, frenchID, spanishID,... you can pass the id to playLanguageF():

 

function playLanguageF(s){

var narration = createjs.Sound.createInstance(s);

narration.play();

}

Votes

Translate

Translate

Report

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
Participant ,
Jul 27, 2020 Jul 27, 2020

Copy link to clipboard

Copied

hi Kglad

Thank you for sharing the example.

I shall try it out in my file and revert!

 

Best Regards

 

Votes

Translate

Translate

Report

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 ,
Jul 27, 2020 Jul 27, 2020

Copy link to clipboard

Copied

LATEST

you're welcome.

Votes

Translate

Translate

Report

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