Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I use drush si l10n_install --locale=ru
I get
is_dir(): Unable to find the wrapper "translations" - did you forget to enable it when you configured PHP? file.inc:2118 [warning]
WD system: l10n_client module installed. [info]
WD system: l10n_client module enabled. [info]
WD system: update module installed. [info]
WD system: update module enabled. [info]
WD user: Session opened for admin. [notice]
WD locale: The Russian language (ru) has been created. [notice]
is_dir(): Unable to find the wrapper "translations" - did you forget to enable it when you configured PHP? file.inc:2118 [warning]
I've test it using drush 8-dev, 6.6.0. The result is the same.
Also a lot of files was generated in my current dirrectory:
translations:
translations:_0
translations:_1
...
Comments
Comment #2
Nikolay ShapovalovComment #3
Nikolay ShapovalovComment #4
ordermind CreditAttribution: ordermind commentedI got the same issue in Drupal 7 and fixed it by running drupal_static_reset('file_get_stream_wrappers') before trying to update the translations.
Comment #5
asrob@zniki.ru and @ordermind,
can you try this with the latest stable of drush again?