wasm或者hybird在什么地方初始化载入设置默认文化信息? #3399
Answered
by
ArgoZhang
densen2014
asked this question in
Q&A
-
wasm或者hybird在什么地方初始化载入设置默认文化信息? 我现在在 MainLayout 的 OnAfterRender 用 culture= Storage.GetValue 后 CultureInfo.DefaultThreadCurrentCulture = culture 会有什么问题吗 |
Beta Was this translation helpful? Give feedback.
Answered by
ArgoZhang
May 2, 2024
Replies: 1 comment 2 replies
-
MAUIMauiProgram file
Build 或者 Run 之前设置下面即可
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
densen2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MAUI
MauiProgram file
Build 或者 Run 之前设置下面即可
CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo("en-US");