From 00654467b297a712bfe173a597d7dfff1fc61705 Mon Sep 17 00:00:00 2001 From: Andrew KeepCoding Date: Fri, 14 Jul 2023 14:45:08 +0900 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f83a74e..766dbef 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Add this ItemGroup in the project file (\*.csproj) of your app. private async Task InitializeLocalizer() { // Initialize a "Strings" folder in the executables folder. - StringsFolderPath StringsFolderPath = Path.Combine(Directory.GetCurrentDirectory(), "Strings"); + StringsFolderPath StringsFolderPath = Path.Combine(AppContext.BaseDirectory, "Strings"); StorageFolder stringsFolder = await StorageFolder.GetFolderFromPathAsync(StringsFolderPath); ILocalizer localizer = await new LocalizerBuilder()