New Zenner
- Join Date:
- Oct 2005
- Location:
- Connectiuct
- Posts:
- 69
- Plugin Contributions:
- 1
Editing blocks of defines
I have a client wanting to translate their website to various languages. Part of that entails FTP'ing into the language files and changing things like this:
define('NAVBAR_TITLE_1', 'My Account');
define('NAVBAR_TITLE_2', 'Change Password');
define('HEADING_TITLE', 'It\s My Password');
define('MY_PASSWORD_TITLE', 'It\'s My Password');
I fear that this client will accidentally cut a beginning or ending apostrophe or forget to escape something (been there/done that!). I thought about striping everything out and putting it in a spreadsheet but that is quite a task. Is there a PHP editor that can make that task a bit more manageable or foolproof? Some easy way to parse those out for editing?
Thanks,
Jim