You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow the case of Microsoft's official blazor localization LocSample .here are my problems:
1,The program worked fine when I added resource files in languages other than Chinese.When I added zh-CN and tried to choose other language,then it didn't work,always showed english.
No Chinese resx:
Chinese resx(just added resx file,didnt add selector options):
it seems it cannot reference to other resx files but Index.resx.I wonder why?
2,Whether the resource file has an inheritance relationship?I just saw 'Culture fallback behavior' in official website. If different pages need the same resource,how does this work?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I follow the case of Microsoft's official blazor localization LocSample .here are my problems:
1,The program worked fine when I added resource files in languages other than Chinese.When I added zh-CN and tried to choose other language,then it didn't work,always showed english.
No Chinese resx:
Chinese resx(just added resx file,didnt add selector options):
it seems it cannot reference to other resx files but Index.resx.I wonder why?
2,Whether the resource file has an inheritance relationship?I just saw 'Culture fallback behavior' in official website. If different pages need the same resource,how does this work?
Beta Was this translation helpful? Give feedback.
All reactions