serundeputy / get_pos

Get Drupal translation files.
1 stars 0 forks source link

Make it easy to download contrib modules #3

Closed olafgrabienski closed 7 years ago

olafgrabienski commented 7 years ago

As default, the tool downloads language files of Drupal core. To download language files of a contrib module, you have to change the file name pattern in the wget command.

Ideas by @serundeputy:

Another idea:

serundeputy commented 7 years ago

@olafgrabienski this version prompts user for project and version and downloads the *.po files to lang-files/{project}-{version} directory.

~Geoff

olafgrabienski commented 7 years ago

@serundeputy Thanks a lot, tested with the latest versions of Drupal core and Views, works perfect!

There's a small typo in $version, line 41: Enter the versio of the project ... has to be: Enter the version of the project ...

serundeputy commented 7 years ago

fixed! thanks for all the testing, proof reading, and suggestions!