From fa2db44d89178ce1074c6b955391a13032b78949 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Sun, 29 Mar 2020 19:08:10 -0700 Subject: [PATCH] Update WebAssemblyHost.cs --- .../WebAssembly/WebAssembly/src/Hosting/WebAssemblyHost.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHost.cs b/src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHost.cs index 68519c1fd8..308d698c8f 100644 --- a/src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHost.cs +++ b/src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHost.cs @@ -120,8 +120,10 @@ namespace Microsoft.AspNetCore.Components.WebAssembly.Hosting _started = true; - // Users may want to configure the culture based on some ambient state such as local storage, url etc. - // If they have changed the culture since the initial load, fetch satellite assemblies for this selection. + // EntryPointInvoker loads satellite assemblies for the application default culture. + // Application developers might have configured the culture based on some ambient state + // such as local storage, url etc as part of their Program.Main(Async). + // This is the earliest opportunity to fetch satellite assemblies for this selection. await SatelliteResourcesLoader.LoadCurrentCultureResourcesAsync(); var tcs = new TaskCompletionSource();