Add locmem cache for l10n use.