I want to i18n variables with drush, e.g. after adding the following to settings.php
$conf['i18n_variables'] = array(
'site_name',
'site_slogan',
);
To do...
$ drush vset site_name --i18n fr "Le nom du site dans une autre langue" #Or something.
Maybe it's already possible, maybe it's okay to set it through a short php-eval statement?
Either way it's more convenient than setting it through admin/settings/site-information for a language one is totally not familiar with.
Comments
Comment #1
zeropaperI think it would be better to let the i18n project implement that command.
and it should maybe looks like
Otherwise.. nice idea.
Comment #2
jose reyero commentedYes, nice idea, patches welcomed.
Comment #3
jose reyero commentedDone for variable realm module, see #1201818: Drush commands for Variable / Variable Realms
(variable-realm-set language es site_name "Spanish Site")
No intereset in adding i18n specific ones.