improved l10n (localization) script: now it's static and should be loaded faster