Add LanguageSwitcher component
This commit is contained in:
@ -48,6 +48,12 @@
|
||||
@if (Configuration.GetSection("Runtime").Value == "WebAssembly")
|
||||
{
|
||||
<script src="_framework/blazor.webassembly.js"></script>
|
||||
<script>
|
||||
window.oqtaneCulture = {
|
||||
get: () => window.localStorage['OqtaneCulture'],
|
||||
set: (value) => window.localStorage['OqtaneCulture'] = value
|
||||
};
|
||||
</script>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user