Hi,
Is there a way to get the ID (aka name of the variable or Outlet name) of a
control?
I need to loop for all controls and then do something like that:
foreach (UIView view in this.View.Subviews)
{
If (view.GetType().Name == "UILabel")
{
view.Text = NSBundle.MainBundle.LocalizedString(view.ID, "");
}
}
So all controls that has a corresponding Localizable.srings file with it ID
as key for localization can be translated automatically depending on
Localizable.srings.
Thanks,
Karl
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch