Closed (fixed)
Project:
Drush
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2009 at 19:59 UTC
Updated:
28 Apr 2009 at 16:20 UTC
After enabeling the drush_extras module, which is all too fantastic to be true, I'm grinning for every module I install. It's so easy! It made me thinking. I'm going to install some languages soon. Wouldn't it be fantastisk to just say drush lm install norwegian? I think so.
Comments
Comment #1
grn commentedGreat idea!! +1
Comment #2
miklThat's a great idea, although we would need some better mechanisms for it than we have today. To my knowledge, there's currently nowhere you can get a plain po-file that would be needed for this operation :)
Comment #3
grn commentedHmm, has anyone worked on a po-file merging tool? Or should we start from scratch?
Comment #4
owen barton commentedWith the 2.x branch you can do this with drush core using the "dl" command - e.g. "drush dl es" - this will download and unpack the translations on the Drupal root (so it is available for installation too). There isn't a command to load the translations on an already installed site using locale module, however if you write one that would be great for drush extras.
Comment #5
mnlund commentedThat's true. Using the dl command with path . works like a charm.
Comment #6
grn commentedShouldn't the language files be put somewhere in the sites folder?
For example sites/all/modules or database import through the locale module?
I know that this is not what the handbook suggests on the translations topic.
Comment #7
owen barton commentedFor i18n installation the language needs to be extracted into the Drupal root, at least according the INSTALL.txt;
http://cvs.drupal.org/viewvc.py/drupal/drupal/INSTALL.txt?revision=1.71&...
" If you would like to have the default English interface translated to a
different language, we have good news. You can install and use Drupal in
other languages from the start. Check whether a released package of the
language desired is available for this Drupal version at
http://drupal.org/project/translations and download the package. Extract
the contents to the same directory where you extracted Drupal into.
"
Comment #8
moshe weitzman commented