Hi,
You could do that with coding but I have made a special plugin special for these kind of situations...
Check out my website and click SubMaster 1.0 in the left menu.
www.shadowhunter.co.uk
This gives you the best solution with the least amount of work and adding languages is very... oh, it's free too.
Check out the demo...
To add real speech with coding you can use a prefix to your speech files, depening on the selection of the user a variable can hold that prefix and launches the correct audio file...
English prefix: ENG_
Dutch prefix: DUT_
Frensh prefix: FRE_
The audiofile name: hello.mp3 will be
ENG_hello.mp3
DUT_hello.mp3
FRE_hello.mp3
For example:
The global variable LANGPREFIX = DUT_
The global variable FILENAME = hello.mp3
Gives in code:
- Code: Select all
MediaPlayerObject(1).FileName = LANGPREFIX + FILENAME
MediaPlayerObject(1).Play()
With best regards,
ShAdOwHuNtEr