Description
The ezgeneratetranslationcache.php script won't generate any caches when the ts-list command line option is not provided.
$translations = split( ' ', $scriptOptions['ts-list'] );
If the ts-list option is not provided, $scriptOptions['ts-list'] will be null in the code above and $translations will become an array with one item: an empty string. But eZTSTranslator::fetchList checks the count of the passed array.
I propose to replace the code above with this:
if ( isset( $scriptOptions['ts-list'] ) ) { $translations = split( ' ', $scriptOptions['ts-list'] ); } else { $translations = array(); }