Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to get localized string using arguments in iOS

$
0
0

Hi Folks,

Coming from the Android world i am used to get localized strings using arguments with the method GetString(id, formatArguments), where id is the resource id of the localized string and formatArguments are the arguments to be plugged in the localized string.

With this i can define a string resource like

<string name="SelectedRowUsing_F8">
    ¿Desea usar el ítem con %1$s = %2$s?
</string>

and call it like

GetString(SelectedRowUsing_F8_id, "Nombre", "Raul");

to get

¿Desea usar el ítem con Nombre = Raul?

... How can i do this in iOS???


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>