Localization script caching