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
Text can be a localize string resource or a binding to a localize string resource
X0 is a value of binding to a value that replaces {0} in the localize string resource
X1 is a value of binding to a value that replaces {1} in the localize string resource
X2 is a value of binding to a value that replaces {2} in the localize string resource
X3 is a value of binding to a value that replaces {3} in the localize string resource
X4 is a value of binding to a value that replaces {4} in the localize string resource
X5 is a value of binding to a value that replaces {5} in the localize string resource
X6 is a value of binding to a value that replaces {6} in the localize string resource
X7 is a value of binding to a value that replaces {7} in the localize string resource
X8 is a value of binding to a value that replaces {8} in the localize string resource
X9 is a value of binding to a value that replaces {9} in the localize string resource
Examples:
<!-- Weather is the string resource "The weather today is {0}." --><!-- Temperature is from your view model, e.g. "32 degrees celsius" --><!-- Outputs "The weather today is 32 degrees celsius."<Label Text={localization:Translate Weather, X0={Binding Temperature}} /><!-- Greeting is the string resource "Hello {0}, the answer to life the universe and everything is {1}!" --><!-- Name is "Arthur Dent" --><!-- Answer is 42 --><!-- Outputs "Hello Arthur Dent, the answer to life the universe and everything is 42! -->
<LabelText="{localization:Translate Greeting, X0={Binding Name}, X1={Binding Answer}}" />
N.B. These changes supersede the TranslateBinding markup extension introduced in https://github.com/SirJohnK/LocalizationResourceManager.Maui/pull/16
The text was updated successfully, but these errors were encountered:
Enhance Translate markup extension by:
Examples:
The text was updated successfully, but these errors were encountered: