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.
By iokevins on
Hi everyone,
How may I download all of the translations in one tar.gz file?
Kevin
Comments
Ok, here's one solution
On UNIX:
"View source" on the translations web page http://drupal.org/project/Translations
Copy and paste the source into a text file
grep gz for > for2
Edit the file in VIM and use Ctrl-V to use the handy visual block functionality to erase everything in the file except for the file names.
You can now format the files into something useful, like this script:
for fl in `echo "af-4.6.0.tar.gz sq-4.6.0.tar.gz ar-4.6.0.tar.gz eu-4.6.0.tar.gz bg-4.6.0.tar.gz ca-4.6.0.tar.gz cs-4.6.0.tar.gz da-4.6.0.tar.gz nl-4.6.0.tar.gz et-4.6.0.tar.gz fi-4.6.0.tar.gz fr-4.6.0.tar.gz de-4.6.0.tar.gz el-4.6.0.tar.gz gu-4.6.0.tar.gz hu-4.6.0.tar.gz id-4.6.0.tar.gz it-4.6.0.tar.gz ja-4.6.0.tar.gz kn-4.6.0.tar.gz lt-4.6.0.tar.gz nb-4.6.0.tar.gz pl-4.6.0.tar.gz pt-pt-4.6.0.tar.gz ro-4.6.0.tar.gz ru-4.6.0.tar.gz sk-4.6.0.tar.gz es-4.6.0.tar.gz sv-4.6.0.tar.gz uk-4.6.0.tar.gz pt-br-4.6.0.tar.gz nno-4.6.0.tar.gz zh-hans-4.6.0.tar.gz zh-hant-4.6.0.tar.gz"`; do
echo $fl
wget http://drupal.org/files/projects/$fl
done
chmod +x for2
./for2
Voila!
"Extraordinary claims require extraordinary evidence"
-- Carl Sagan