public static IReadOnlyDictionary <string, string> GetGameTranstaleGroup(this ILocalizerService localizer, GameTranslateType translateType)
        {
            var isnt = new TranslateCollections();

            switch (translateType)
            {
            case GameTranslateType.alliance:
                return(isnt.AllianceTranslates);

            case GameTranslateType.mapInfo:
                return(isnt.MapTranslates);

            case GameTranslateType.confederation:
                return(isnt.ConfederationTranslates);

            case GameTranslateType.journal:
                return(isnt.JournalTranslates);

            case GameTranslateType.common:
                return(isnt.CommonTranslates);

            case GameTranslateType.unit:
                return(isnt.UnitTranslates);

            default:
                return(null);
            }
        }
        public static Dictionary <GameTranslateType, IReadOnlyDictionary <string, string> > GetGameTranslate(this ILocalizerService localizer)
        {
            var inst = new TranslateCollections();

            return(new Dictionary <GameTranslateType, IReadOnlyDictionary <string, string> >
            {
                { GameTranslateType.alliance, inst.AllianceTranslates },
                { GameTranslateType.mapInfo, inst.MapTranslates },
                { GameTranslateType.confederation, inst.ConfederationTranslates },
                { GameTranslateType.journal, inst.JournalTranslates },
                { GameTranslateType.common, inst.CommonTranslates },
                { GameTranslateType.unit, inst.UnitTranslates }
            });
        }