pippinsplugins/Easy-Digital-Downloads — pull request #328 by deckerweb (2012-09-12 10:27:08+00:00)
Title: Added filter for languages directory (translations loading), plus one missing textdomain

Added a filter for the translations loading:
```php
// Set filter for plugin's languages directory
$edd_lang_dir = dirname( plugin_basename( EDD_PLUGIN_FILE ) ) . '/languages/';
$edd_lang_dir = apply_filters( 'edd_languages_directory', $edd_lang_dir );

// Load the translations
load_plugin_textdomain( 'edd', false, $edd_lang_dir );
```
This way, users can setup other folders so when updating the plugin custom language files won't be lost. This also allows for developers to create language-pack-plugins so non-techie users get more alternatives for up-to-date translation files.