public override void PrepareLocalizationResourceFiles()
        {
            ILocalizationProvider localizationProvider = Service <ILocalizationProvider>();

            localizationProvider.CurrentLanguage = new CultureInfo("cs-CZ");
            localizationProvider.AddLocalizationFile(new Uri(@"pack://*****:*****@"pack://application:,,,/StoreKeeper.Resources;Component/Localization/Localization-cs.xml", UriKind.Absolute));
        }
Esempio n. 2
0
 private void InitLocalization()
 {
     _localizationProvider = new LocalizationProvider(new XmlTranslationProvider());
     _localizationProvider.AddLocalizationFile(new Uri(@"pack://*****:*****@"pack://application:,,,/CommonBase.Resources;Component/LocalizationData/BaseLocalization-cs.xml", UriKind.Absolute));
 }