Instead of all this, why not just add the locs to the location.txt file? Here is part of mine, for example: [spellgem_0] UILabel=CastSpellWnd XMLFile=EQUI_CastSpellWnd.xml ScreenID=CSPW_Spell0 [spellgem_1] UILabel=CastSpellWnd XMLFile=EQUI_CastSpellWnd.xml ScreenID=CSPW_Spell1 [spellgem_2] UILabel=C...