I give up, it is impossible to me create a new phar... Extracting the .phar I got it to work executing the following command:
php -d phar.readonly=0 -r '$phar = new Phar("es_ES.phar"); $phar->extractTo("./es_ES");'; chmod 000 es_ES.phar;
And editing the affected file, may be somebody find it useful. (chmod 000 is to avoid osTicket to load es_ES.phar until it gets corrected).