Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: tarekalbakri on October 23, 2016, 06:29:34 AM

Title: Help plz ASAP
Post by: tarekalbakri on October 23, 2016, 06:29:34 AM
Hello everybody
im new to NGUI and im working on translating a game that made with NGUI

the game is already made and finished i just have to translate it  and it work with 3 languages

and im wishing to change one of them to Arabic my problem is that the game mad with UILabel and change language Dynamically
 
and all text stored in a txt file in list with tab spaces

and the index stored in script called TextList
and its look like this

public enum Msg {
   ACH_MAINBASE_RANK_3,
   ACH_MAINBASE_RANK_5,
   ACH_MAINBASE_RANK_10,

etc...

this line should select the language

m_eLanguageType = (LanguageType)sysLang;

so
here my qustion
how i can translate this game or add a new language to it

and it well work if i translate the text data list file ?

sorry for my bad english

and ty for reading




Title: Re: Help plz ASAP
Post by: ArenMook on October 24, 2016, 06:57:27 AM
NGUI's localization must be used, and it pulls its data from a text file, not some enum. Sounds like what you have there is some custom solution instead of using NGUI's localization.