Page 1 of 1

Localization sample for Unity?

Posted: 26 Mar 2014, 19:22
by timashev
Hi,

I haven't found any sample of localization of the UI built with NoesisGUI for Unity.

I studied the standard XAML way of doing it, but what is a recommended way for NoesisGUI for Unity? Are there any special twists/approaches? ;)

Regards,
Albert

Re: Localization sample for Unity?

Posted: 28 Mar 2014, 20:33
by timashev
Anyone?

Re: Localization sample for Unity?

Posted: 28 Mar 2014, 21:07
by wckdspn
I'd normally have localization at the ViewModel/Resource level. Bind to a string property which is populated from some loc-id. For static labels and such, one-time binding is sufficient.

Re: Localization sample for Unity?

Posted: 28 Mar 2014, 23:55
by sfernandez
Sorry for the late answer :oops:

You can implement localization by using a ResourceDictionary containing the localized strings for your application, as explained here: viewtopic.php?f=3&t=54