Star Sonata
http://www.starsonata.com/forum/

String Localization
http://www.starsonata.com/forum/viewtopic.php?f=91&t=47105
Page 1 of 1

Author:  Deathdisguise [ Thu Sep 01, 2011 9:48 pm ]
Post subject:  String Localization

The UI has several bindings like so:
Code:
<binding>
    <slot name="setText" signal="button_ok_text" id="AgentManager" />
</binding>


which works great, unless someone wanted to make a localization mod for those of us that would prefer other languages!

A quick and proper way to support this would be removing all these bindings and placing the following:

In the appropriate element:
Code:
<attributes>
    <string name="TextID" value="id_agent_cancel" />   
</attributes>

and in the strings_us.xml:
Code:
   <!-- dlg_agent -->
   <string id="id_agent_cancel">Cancel</string>



Unsure how the developers are planning to proceed with different languages and support, I'm just bringing it to light for now, but I'd be willing to rework all the XML to support this if it seems like a good idea?

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/