timashev
Topic Author
Posts: 28
Joined: 22 Jan 2014, 00:47

Localization sample for Unity?

26 Mar 2014, 19:22

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
 
timashev
Topic Author
Posts: 28
Joined: 22 Jan 2014, 00:47

Re: Localization sample for Unity?

28 Mar 2014, 20:33

Anyone?
 
wckdspn
Posts: 67
Joined: 18 Aug 2012, 23:14

Re: Localization sample for Unity?

28 Mar 2014, 21:07

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.
 
User avatar
sfernandez
Site Admin
Posts: 1912
Joined: 22 Dec 2011, 19:20

Re: Localization sample for Unity?

28 Mar 2014, 23:55

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

Who is online

Users browsing this forum: Bing [Bot] and 1 guest