private void appLanguage()
 {
     SetLang setlang = new SetLang();
     List<string> templang = setlang.SetLootTable();
     try
     {
         EntryClearBtn.Content = templang[0];
         functionClear.Content = templang[0];
         conditionsClearBtn.Content = templang[0];
         AttrClearBtn.Content = templang[0];
         PoolCreateBtn.Content = templang[1];
         EntryCreateBtn.Content = templang[1];
         functionCreate.Content = templang[1];
         conditionsCreateBtn.Content = templang[1];
         AttrCreateBtn.Content = templang[1];
         PoolCheckBtn.Content = templang[2];
         PoolGetConditionBtn.Content = templang[3] + " " + templang[30];
         EntryGetConditionBtn.Content = templang[3] + " " + templang[30];
         EntryGetFunctionBtn.Content = templang[3] + " " + templang[18];
         functionAttributeGet.Content = templang[3] + " " + templang[45];
         PoolRollCountRandom.Content = templang[4];
         PoolRollBonusRandom.Content = templang[4];
         functionsEnchantRandom.Content = templang[4];
         functionLCountRandom.Content = templang[4];
         functionCountRandom.Content = templang[4];
         functionDamageRandom.Content = templang[4];
         functionMetaRandom.Content = templang[4];
         conditionsScoreRandom.Content = templang[4];
         AttrMaxHealth_Copy.Content = templang[4];
         AttrRange_Copy.Content = templang[4];
         AttrKnockBack_Copy.Content = templang[4];
         AttrMoveSpeed_Copy.Content = templang[4];
         AttrAtkDmg_Copy.Content = templang[4];
         AttrArmor_Copy.Content = templang[4];
         AttrAtkSpeed_Copy.Content = templang[4];
         AttrLuck_Copy.Content = templang[4];
         AttrJump_Copy.Content = templang[4];
         AttrZombie_Copy.Content = templang[4];
         PoolRollCountMin.ToolTip = templang[5];
         PoolRollBonusMin.ToolTip = templang[5];
         functionsEnchantMin.ToolTip = templang[5];
         functionLCountMin.ToolTip = templang[5];
         functionCountMin.ToolTip = templang[5];
         functionDamageMin.ToolTip = templang[5];
         functionMetaMin.ToolTip = templang[5];
         conditionsScoreScoreMin.ToolTip = templang[5];
         AttrMaxHealthO.ToolTip = templang[5];
         AttrRangeO.ToolTip = templang[5];
         AttrKnockBackO.ToolTip = templang[5];
         AttrMoveSpeedO.ToolTip = templang[5];
         AttrAtkDmgO.ToolTip = templang[5];
         AttrArmorO.ToolTip = templang[5];
         AttrAtkSpeedO.ToolTip = templang[5];
         AttrLuckO.ToolTip = templang[5];
         AttrJumpO.ToolTip = templang[5];
         AttrZombieO.ToolTip = templang[5];
         PoolRollCountMax.ToolTip = templang[6];
         PoolRollBonusMax.ToolTip = templang[6];
         functionsEnchantMax.ToolTip = templang[6];
         functionLCountMax.ToolTip = templang[6];
         functionCountMax.ToolTip = templang[6];
         functionDamageMax.ToolTip = templang[6];
         functionMetaMax.ToolTip = templang[6];
         conditionsScoreMax.ToolTip = templang[6];
         AttrMaxHealthO_Copy.ToolTip = templang[6];
         AttrRangeO_Copy.ToolTip = templang[6];
         AttrKnockBackO_Copy.ToolTip = templang[6];
         AttrMoveSpeedO_Copy.ToolTip = templang[6];
         AttrAtkDmgO_Copy.ToolTip = templang[6];
         AttrArmorO_Copy.ToolTip = templang[6];
         AttrAtkSpeedO_Copy.ToolTip = templang[6];
         AttrLuckO_Copy.ToolTip = templang[6];
         AttrJumpO_Copy.ToolTip = templang[6];
         AttrZombieO_Copy.ToolTip = templang[6];
         LootTableRegular = templang[7];
         Title = templang[8];
         tabPool.Header = templang[9];
         PoolRollCount.Content = templang[10];
         PoolRollBonus.Content = templang[11];
         PoolRollBonus.ToolTip = templang[12];
         EntryItem.Content = templang[13];
         EntryLoottable.Content = templang[14];
         EntryNothing.Content = templang[15];
         EntryWeight.ToolTip = templang[16];
         EntryQuality.ToolTip = templang[17];
         tabFunction.Header = "←" + templang[18];
         functionsRandomEnchantGroup.Header = "        " + templang[19];
         functionsRandomEnchantBtn.Content = templang[20];
         functionsEnchantGroup.Header = "        " + templang[21];
         functionsEnchantTreasure.Content = templang[22];
         functionFurnaceGroup.Header = "        " + templang[23];
         functionLCountGroup.Header = "        " + templang[24];
         functionAttributeGroup.Header = "        " + templang[25];
         functionCountGroup.Header = "        " + templang[26];
         functionDamageGroup.Header = "        " + templang[27];
         functionMetaGroup.Header = "        " + templang[28];
         functionNBTGroup.Header = "        " + templang[29];
         tabCondition.Header = "←" + templang[30];
         functionsRandomEnchantCondition.Content = templang[30];
         functionsEnchantCondition.Content = templang[30];
         functionFurnaceCondition.Content = templang[30];
         functionLCountCondition.Content = templang[30];
         functionAttributeCondition.Content = templang[30];
         functionCountCondition.Content = templang[30];
         functionDamageCondition.Content = templang[30];
         functionMetaCondition.Content = templang[30];
         functionNBTCondition.Content = templang[30];
         conditionsPropertiesRBThis.Content = templang[31];
         conditionsScoreRBThis.Content = templang[31];
         conditionsPropertiesRBKiller.Content = templang[32];
         conditionsScoreRBKiller.Content = templang[32];
         conditionsPropertiesRBKillerByPlayer.Content = templang[33];
         conditionsScoreRBKillerByPlayer.Content = templang[33];
         conditionsPropertiesGroup.Header = "        " + templang[34];
         conditionsPropertiesIsOnFire.Content = templang[35];
         conditionsPropertiesIsOnFire.ToolTip = templang[36];
         conditionsScoreGroup.Header = "        " + templang[37];
         conditionsScoreName.ToolTip = templang[38];
         conditionsChanceGroup.Header = "        " + templang[39];
         conditionsChanceChance.ToolTip = templang[40];
         conditionsChanceMulti.ToolTip = templang[41];
         conditionsChanceIsMulti.Content = templang[42];
         conditionsKillByPlayerGroup.Header = "        " + templang[43];
         conditionsKillByPlayerNot.Content = templang[44];
         tabAttribute.Header = "←" + templang[45];
         AttrGroup.Header = templang[46];
         AttrMaxHealthCheck.Content = templang[47];
         AttrRangeCheck.Content = templang[48];
         AttrKnockBackCheck.Content = templang[49];
         AttrMoveSpeedCheck.Content = templang[50];
         AttrAtkDmgCheck.Content = templang[51];
         AttrArmorCheck.Content = templang[52];
         AttrAtkSpeedCheck.Content = templang[53];
         AttrLuckCheck.Content = templang[54];
         AttrJumpCheck.Content = templang[55];
         AttrZombieCheck.Content = templang[56];
         AttrMaxHealth_MainHand.Content = templang[57];
         AttrRange_MainHand.Content = templang[57];
         AttrKnockBack_MainHand.Content = templang[57];
         AttrMoveSpeed_MainHand.Content = templang[57];
         AttrAtkDmg_MainHand.Content = templang[57];
         AttrArmor_MainHand.Content = templang[57];
         AttrAtkSpeed_MainHand.Content = templang[57];
         AttrLuck_MainHand.Content = templang[57];
         AttrJump_MainHand.Content = templang[57];
         AttrZombie_MainHand.Content = templang[57];
         AttrMaxHealth_OffHand.Content = templang[58];
         AttrRange_OffHand.Content = templang[58];
         AttrKnockBack_OffHand.Content = templang[58];
         AttrMoveSpeed_OffHand.Content = templang[58];
         AttrAtkDmg_OffHand.Content = templang[58];
         AttrArmor_OffHand.Content = templang[58];
         AttrAtkSpeed_OffHand.Content = templang[58];
         AttrLuck_OffHand.Content = templang[58];
         AttrJump_OffHand.Content = templang[58];
         AttrZombie_OffHand.Content = templang[58];
         AttrMaxHealth_Feet.Content = templang[59];
         AttrRange_Feet.Content = templang[59];
         AttrKnockBack_Feet.Content = templang[59];
         AttrMoveSpeed_Feet.Content = templang[59];
         AttrAtkDmg_Feet.Content = templang[59];
         AttrArmor_Feet.Content = templang[59];
         AttrAtkSpeed_Feet.Content = templang[59];
         AttrLuck_Feet.Content = templang[59];
         AttrJump_Feet.Content = templang[59];
         AttrZombie_Feet.Content = templang[59];
         AttrMaxHealth_Legs.Content = templang[60];
         AttrRange_Legs.Content = templang[60];
         AttrKnockBack_Legs.Content = templang[60];
         AttrMoveSpeed_Legs.Content = templang[60];
         AttrAtkDmg_Legs.Content = templang[60];
         AttrArmor_Legs.Content = templang[60];
         AttrAtkSpeed_Legs.Content = templang[60];
         AttrLuck_Legs.Content = templang[60];
         AttrJump_Legs.Content = templang[60];
         AttrZombie_Legs.Content = templang[60];
         AttrMaxHealth_Chest.Content = templang[61];
         AttrRange_Chest.Content = templang[61];
         AttrKnockBack_Chest.Content = templang[61];
         AttrMoveSpeed_Chest.Content = templang[61];
         AttrAtkDmg_Chest.Content = templang[61];
         AttrArmor_Chest.Content = templang[61];
         AttrAtkSpeed_Chest.Content = templang[61];
         AttrLuck_Chest.Content = templang[61];
         AttrJump_Chest.Content = templang[61];
         AttrZombie_Chest.Content = templang[61];
         AttrMaxHealth_Head.Content = templang[62];
         AttrRange_Head.Content = templang[62];
         AttrKnockBack_Head.Content = templang[62];
         AttrMoveSpeed_Head.Content = templang[62];
         AttrAtkDmg_Head.Content = templang[62];
         AttrArmor_Head.Content = templang[62];
         AttrAtkSpeed_Head.Content = templang[62];
         AttrLuck_Head.Content = templang[62];
         AttrJump_Head.Content = templang[62];
         AttrZombie_Head.Content = templang[62];
         AttrTip1.Content = templang[63];
         AttrTip2.Content = templang[64];
         AttrTip3.Content = templang[65];
         LootTableFileName.ToolTip = templang[66];
         LootTableSaveTitle = templang[67];
         LootTableFileNameList.Content = templang[68];
         LootTableWiki = templang[69];
         FloatErrorTitle = templang[70];
         FloatHelpFileCantFind = templang[71];
         FloatConfirm = templang[72];
         FloatCancel = templang[73];
         functionLCountLimit.ToolTip = templang[74];
         LootTableError = templang[75];
     } catch (Exception) { /* throw; */ }
 }