Copy link to clipboard
Copied
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!
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
I agree with TheOriginalGC he has the right idea here.
Copy link to clipboard
Copied
I´ve never used JSON Files to dynamicaly load something.
I will look for a tutorial.
Thanks for the hint.
Copy link to clipboard
Copied
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.
Regards,
JC