public static void AddLocale(string localeKey, string scriptName, Assembly scriptAssembly) { lock(_locker) { if(_customLocales == null) _customLocales = new Dictionary<string, LocaleScriptInfo>(); _customLocales[localeKey] = new LocaleScriptInfo(localeKey, scriptName, scriptAssembly); } }