Hi.
The sc_set_language is to define the application language dynamically.
Here is a couple of examples:
- sc_set_language(‘en_us’);
- sc_set_language(‘es’);
But is it possible to use a variable instead of the text for the language, like this:
$lang = ‘en_us’;
sc_set_language($lang);
The “sc_set_language($lang);” line does not work, but is it a different way of doing it using a variable for language?