displaying different languages
Hi - my company is trying something new - Language Support! We want to take a standard English presentation and place a slide at the beginning which invites the user to select their language (e.g. US, DE, FR, ES, etc). I've experimented a bit and have got working proof of concept which allows people to be able to click on a flag which represents their country and display text of the appropriate language on each page thereafter, but the programming of variables is horrendous. I've been taking advantage of the Advanced Actions and variables a person can create, but each of the text assets has to be named, and then specified to be shown or hidden. So, for example, if the US flag is selected on slide 1 all text assets (US_text1, US_text2, US_text3 etc) have to be set to "Show", while all other assets should (as a matter of good practice) be set to "Hide", which means stipulating DE_text1, DE_text2, DE_text3 etc, FR_text1, FR_text2, FR_text3 etc, ES_text1, ES_text2, ES_text3 etc. That's a lot of coding! I've been looking into this new feature: Change State - but I think it only affects the slide it is being applied to, but if you know differently, please let me know!
I guess what I'm asking for is this: is there a way of using a 'wildcard' so that I can simply stipulate any asset tagged as US can be shown/hidden a bit like this: When the US flag is clicked show US_text%%,hide DE_text%%, hide FR_text%%, hide ES_text%% (I'm using %% as an example of a wildcard (which I've tried - I've also tried * and $ signs). Anything that would help speed up the coding for this simple task would be very much appreciated.
If you can solve it, I'll buy you a coffee! ![]()
