localize variables xamarin.ios in code and display right to left -


does know how go localizing dynamic variables in code using xamarin.ios? have done static variables. example below explains more:

//this work var test = nsbundle.mainbundle.localizedstring(“qty 1234”,”test text”);  //what need figure out how localize below var test = "qty" + avalue; //where avalue dynamically generated number ex:1,2,3,4,5 

moreover, how go adjusting monotouch.dialog element display right-to-left i.e caption on left , value on right (for arabic text)? in advance.

use string.format instead of concatenation:

var test = string.format(nsbundle.mainbundle.localizedstring(“qty {0}”,”test text”), avalue); 

this should message "qty {0}" in localized.strings, return translated format it, , {0} replaced avalue.

monotouch.dialog built on top of uitableview, answers question ( uitableview support right left languages) should apply: have write own uitableviewcells


Comments