We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a translation extension to display the current app theme, api would look like:
<Label Text="{mocale:LocalizeAppTheme}"/>
This would default to using a pair of known keys:
"Mocale_CurrentAppTheme_Light"
"Mocale_CurrentAppTheme_Dark"
"Mocale_CurrentAppTheme_Unspecified"
And have the ability to override these keys to provide your own.
With overloads:
<Label Text="{mocale:LocalizeAppTheme LightKey='SomeOtherKey_Light', DarkKey='SomeOtherKey_Dark'}"/>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add a translation extension to display the current app theme, api would look like:
This would default to using a pair of known keys:
"Mocale_CurrentAppTheme_Light"
"Mocale_CurrentAppTheme_Dark"
"Mocale_CurrentAppTheme_Unspecified"
And have the ability to override these keys to provide your own.
With overloads:
The text was updated successfully, but these errors were encountered: