in reply to Translation selection advise
else you could use the given when feature depending on your perl version :
Update : I'm not sure whether this will work, can not recall the exact syntax and I dont have the right perl version on this machine to test itt
given ($language){ when('fr'){ $wind_translation='vent'; } when('es'){ $wind_translation='viento'; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Translation selection advise
by Laurent_R (Canon) on Sep 04, 2015 at 08:33 UTC |