hi

i'm using the Localization update module to get up to date the backoffice of my websites...so i would to know the way to do this update via drush ?

i'm on multisite (local server) and monosite (prod)...

thanks

Comments

jonhattan’s picture

Status: Active » Fixed

This question pertains to l10n-update module. Anyway you need latest l10n-update (see: #1057150: Rework drush l10n-update commands) and do this on each site:

drush l10n-update-refresh && drush l10n-update --languages=es,fr,de and also you can set --mode=keep|overwrite, default is to keep existing translations.

There's (still) no command to enable languages so you need to enable them first via web.

aiphes’s picture

Status: Fixed » Active

after test this seem not work :

@ssh:~/www/celony$ drush l10n-update-refresh && drush l10n-update --languages=fr
The drush command 'l10n-update-refresh' could not be found. 

on dev server and prod server.all run the drush 5.0dev version, and the last l10n-update module version

jonhattan’s picture

Project: Drush » Localization update
Version: » 6.x-1.0-alpha4
Component: PM (dl, en, up ...) » User interface

If your using 6.x you need 6.x-dev. Also the module needs to be enabled for the drush commands to work.

gábor hojtsy’s picture

Status: Active » Fixed

To ease use of the module with Drush, there should be a new 6.x release of the module sometime soon, but don't count on it being in a couple days. Otherwise just follow help from drush and in the issue linked above. Please reopen if it does not work with the development version of the module.

aiphes’s picture

Version: 6.x-1.0-alpha4 » 6.x-1.x-dev

ok i wait , i did install the dev version :

$ drush l10n-update-refresh && drush l10n-update --languages=fr
Failed to fetch information about available updates from the server                                 [error]

so it's better than alpha release..

gábor hojtsy’s picture

Status: Fixed » Active

Ha, ok. It does not work from your web interface either?

aiphes’s picture

yes it works on web interface, but not on ssh with drush

sutharsan’s picture

Status: Active » Closed (cannot reproduce)

With the current dev release I cannot reproduce this.

drush l10n-update-status
drush l10n-update --languages=nl
drush l10n-update-status
drush l10n-update
drush l10n-update-status

All work as expected. Both local and remote updates are resolved. Feel free to reopen if you have additional questions.