feat: update loc to allow use by plugins

This commit is contained in:
kalilistic 2021-04-10 13:45:28 -04:00
parent 2a585e8d5d
commit 13eaa4450d
4 changed files with 57 additions and 9 deletions

View file

@ -218,7 +218,7 @@ namespace Dalamud
Log.Verbose("[START] CS OK!");
this.LocalizationManager = new Localization(this.AssetDirectory.FullName);
this.LocalizationManager = new Localization(Path.Combine(this.AssetDirectory.FullName, "UIRes", "loc", "dalamud"), "dalamud_");
if (!string.IsNullOrEmpty(this.Configuration.LanguageOverride))
this.LocalizationManager.SetupWithLangCode(this.Configuration.LanguageOverride);
else