I approve mars's proposal of external file for all text and messages, also i think rejetto has it already in his plans.
A way to implement it could be doing it in two steps:
- Create global vars with a good naming system, being each a set of two values.
First value is a mnemonic, that can later be used to identify values in external file, the second value is the displayed text.
:: me3_hidefolder = {me3_hdfldr,'Hide folder'} ...
- Use progressivly this system in new functions and when changing existing ones.
Later, when already avanced, you can read an external file than contains a set of mnemonic-value. If in the external file the mnemonic exists, the value will be assigned, else the internal value will be used. That has the advantage, that if hfs grows with new texts, there would be no problem if the language files aren't inmediatly updated.