Mvvmcross: Text format binding with MvxLang

Viewed 560

I am building a native Xamarin app, and I am using Mvvmcross to do it. It is a really nice tool but I am still learning about how it works.

I found in the documentation yould could do the following thing with binding:

local:MvxBind="Text Format('Line: {0}', Line.Name)"

Here your binding the Testclass.Name variable with the format, so the result will be

Line: TestName

Now I want to do the same thing but also taking in a count the translation for Line:. So normally for translation you do the following.

local:MvxLang="Text Line_Label"

So my idea was to do something like this:

local:MvxLang="Text Format('{0}{1}', Line_Label, Line.Name)"

But it doesn't work like this. Does anybody have an idea if this is possible yet and how?

1 Answers
Related