When using the Variable translation module (part of the Internationalization suite), how can I set the value of a translated variable from the site's settings.php
file ?
Using the $conf
in the settings.php
works, but off course it can only be used when the value of the variable is the same in all languages.
I'm looking for a solution that could be used to achieve the same goal of the $conf
in the settings.php
file: defining the values of variable at execution without the need store the values anywhere else. One use case is to assign different values to variables depending on the execution environment (as set in an environment variable).