[translations] Convert placeholders in old translations
Konstantin Käfer
kkaefer at gmail.com
Sun Dec 17 20:14:51 UTC 2006
Hello translators,
I wrote a script that checks all the placeholders in old translations
and converts them to the appropriate character (!, % or @).
The script can be found at http://cvs.drupal.org/viewcvs/*checkout*/
drupal/contributions/tricks/update-placeholders.php
Copy the script to your translation files and execute:
for i in *.po ; do php update-placeholders.php $i ; done
Be sure to make a backup of all your files and check them after the
conversion. I don't guarantee for anything.
Konstantin Käfer – http://kkaefer.com/
More information about the translations
mailing list