It is currently Sat Mar 06, 2021 10:03 am



Post new topic Reply to topic  [ 1 post ] 
Author Message
Member
 

Team: Dark Traders
Main: Aredes
Level: 2142
Class: Shield Monkey

Joined: Tue Apr 27, 2010 5:15 pm
Post 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?


Thu Sep 01, 2011 9:48 pm
Profile E-mail
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © phpBB Group.