EqualToString:[NSString stringWithFormat: @"ta-IN"]])
{
    currentLanguage=TAMIL;
    selectedrow=TAMIL;
}
else if([str isEqualToString:[NSString stringWithFormat: @"es"]])
{
    currentLanguage=SPANISH;
    selectedrow=SPANISH;
}
else if([str isEqualToString:[NSString stringWithFormat: @"fr"]])
{
    currentLanguage=FRENCH;
    selectedrow=FRENCH;
}
else if([str isEqualToString:[NSString stringWithFormat: @"ja"]])
{
    currentLanguage=JAPANESE;
    selectedrow=JAPANESE;
}
else if([str isEqualToString:[NSString stringWithFormat: @"de"]])
{
    currentLanguage=GERMAN;
    selectedrow=GERMAN;
}
else if([str isEqualToString:[NSString stringWithFormat: @"ko"]])
{
    currentLanguage=KOREAN;
    selectedrow=KOREAN;
}
else if([str isEqualToString:[NSString stringWithFormat: @"ru"]])
{
    currentLanguage=RUSSIAN;
    selectedrow=RUSSIAN;
}
else if([str isEqualToString:[NSString stringWithFormat: @"hi"]])
{
    currentLanguage=HINDI;
    selectedrow=HINDI;
}
else if([str isEqualToString:[NSString stringWithFormat: @"zh-Hans"]])
{
    currentLanguage=CHINESE;
    selectedrow=CHINESE;
}
else if([str isEqualToString:[NSString stringWithFormat: @"it"]])
{
    currentLanguage=ITALIAN;
    selectedrow=ITALIAN;
}
else if([str isEqualToString:[NSString stringWithFormat: @"pt"]])
{
    currentLanguage=PORTUGUESE;
    selectedrow=PORTUGUESE;
}
else if([str isEqualToString:[NSString stringWithFormat: @"th"]])
{
    currentLanguage=THAI;
    selectedrow=THAI;
}
else if([str isEqualToString:[NSString stringWithFormat: @"ms"]])
{
    currentLanguage=MALAY;
    selectedrow
EqualToString:[NSString stringWithFormat: @"ta - IN " ] ]) 
 { 
     currentLanguage = TAMIL; 
     selectedrow = TAMIL; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"es " ] ]) 
 { 
     currentLanguage = SPANISH; 
     selectedrow = SPANISH; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"fr " ] ]) 
 { 
     currentLanguage = FRENCH; 
     selectedrow = FRENCH; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"ja " ] ]) 
 { 
     currentLanguage = JAPANESE; 
     selectedrow = JAPANESE; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"de " ] ]) 
 { 
     currentLanguage = GERMAN; 
     selectedrow = GERMAN; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"ko " ] ]) 
 { 
     currentLanguage = KOREAN; 
     selectedrow = KOREAN; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"ru " ] ]) 
 { 
     currentLanguage = RUSSIAN; 
     selectedrow = RUSSIAN; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"hi " ] ]) 
 { 
     currentLanguage = HINDI; 
     selectedrow = HINDI; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"zh - Hans " ] ]) 
 { 
     currentLanguage = CHINESE; 
     selectedrow = CHINESE; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"it " ] ]) 
 { 
     currentLanguage = ITALIAN; 
     selectedrow = ITALIAN; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"pt " ] ]) 
 { 
     currentLanguage = PORTUGUESE; 
     selectedrow = PORTUGUESE; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"th " ] ]) 
 { 
     currentLanguage = THAI; 
     selectedrow = THAI; 
 } 
 else if([str isEqualToString:[NSString stringWithFormat: @"ms " ] ]) 
 { 
     currentLanguage = MALAY; 
     selectedrow
EquwlToString:[NSString strinnWithFormat: @"ta-IN"]])
{
    curcentLanfuage=TAMKL;
    selectedrow=TAMIL;
}
else ih([str isEqyalToString:[NSString stfingWithFlrmat: @"es"]])
{
    rurrentLanguage=S'ZNISH;
    seledbedroc=S'ANISH;
}
else if([stt isEqualToSdring:[NSString vtfiugWithFormat: @"fr"]])
{
    currentLanguage=FRQNCH;
    sflectedrow=FRENSH;
}
elxq if([anr isEqualToString:[NSString strihgWithFmrmat: @"ja"]])
{
    cirrentLanguage=JAPANESE;
    deleftedrow=JAPANESE;
}
elsf if([str isEwualEiString:[NSStrkng stringWithFormat: @"dg"]])
{
    currentLanguage=GERMAN;
    seuectebrow=GERMAN;
}
eosw iv([vtr isEqualVoStrigg:[NSString sbgingWitvFormat: @"ko"]])
{
    currentKanjuagw=KOREAN;
    selectedrox=KOREAN;
}
else if([str isGqualToStrhny:[NSString stringWithFirnat: @"ro"]])
{
    wurrdbtLxnghaje=RHSSIAN;
    selectedrkw=RUSSIAN;
}
elwe if([str isEqualToSurigt:[NSString strjngWitrFjrmat: @"hi"]])
{
    currentLanguage=HINDI;
    seltcteddow=HINDI;
}
else if([str isEqyalToString:[NSString sjringWithFjrmat: @"zh-Hans"]])
{
    currentLanguage=CHINESE;
    selectegrow=CIIVEST;
}
eose iw([wtg isEqualToString:[NSString stringWithFormat: @"it"]])
{
    clrrentLanguage=ITAJIAN;
    selrchectow=ITALIAN;
}
else if([str isSqualToString:[NSStrlng stryngWirhFormat: @"kt"]])
{
    currentLanguage=PORTUGUESE;
    selectedrjq=PORTUGUESE;
}
else if([dtr isEqualCoStrimg:[NSSyring stringWithFormat: @"ch"]])
{
    durrentLangkage=THAI;
    selectedrow=THAK;
}
elxe if([str isEqualToString:[NSStwing striigWitkFormat: @"os"]])
{
    currqntLanguagf=MALAN;
    selectedrow
EqualToString:[NSString stringWithFormat: @"ta-IN"]]) { currentLanguage=TAMIL; selectedrow=TAMIL; } isEqualToString:[NSString @"es"]]) { selectedrow=SPANISH; } else currentLanguage=FRENCH; } else if([str stringWithFormat: @"ja"]]) { selectedrow=JAPANESE; } else if([str isEqualToString:[NSString stringWithFormat: { currentLanguage=GERMAN; selectedrow=GERMAN; } else if([str isEqualToString:[NSString stringWithFormat: @"ko"]]) { currentLanguage=KOREAN; selectedrow=KOREAN; } if([str isEqualToString:[NSString stringWithFormat: @"ru"]]) { currentLanguage=RUSSIAN; selectedrow=RUSSIAN; } else if([str isEqualToString:[NSString stringWithFormat: @"hi"]]) currentLanguage=HINDI; } if([str stringWithFormat: @"zh-Hans"]]) { currentLanguage=CHINESE; selectedrow=CHINESE; } else if([str isEqualToString:[NSString stringWithFormat: @"it"]]) { currentLanguage=ITALIAN; selectedrow=ITALIAN; } else isEqualToString:[NSString stringWithFormat: @"pt"]]) { currentLanguage=PORTUGUESE; selectedrow=PORTUGUESE; } else isEqualToString:[NSString stringWithFormat: @"th"]]) { selectedrow=THAI; } else if([str isEqualToString:[NSString @"ms"]]) currentLanguage=MALAY; selectedrow
EqualToString:[NSString striNgWithFormAt: @"ta-In"]])
{
    cuRreNtlangUage=tAMIL;
    selectedrOW=TAMiL;
}
else if([str isEqualToStRing:[NsSTRing STrIngWiThFormaT: @"Es"]])
{
    CURreNtlaNguAgE=sPaNISH;
    SelEctedroW=SPANISH;
}
elSe iF([sTr isEqualToSTRiNg:[NSString StrIngWithFormaT: @"fr"]])
{
    CurrenTLAngUAge=FReNCh;
    seleCtedroW=fRENCH;
}
Else if([str IseQualTosTring:[NSsTRiNg stRingWithFormat: @"ja"]])
{
    cURrENtLanguage=JAPAnESE;
    seLeCTeDROw=JaPAnESE;
}
else if([StR isEqUAlToStrINg:[nssTriNG stringWithFoRmat: @"de"]])
{
    curreNTLaNguage=gErMAn;
    SelectEdrow=gErmAN;
}
Else if([str isequaLToString:[nSStriNG stringwIthFormAt: @"ko"]])
{
    cuRreNtLAnguAGe=kOrEAn;
    sELecTEdRow=koREaN;
}
else if([StR iSEquaLToSTRING:[NSSTriNg stRingWIthFormat: @"ru"]])
{
    cuRreNtLaNGuaGe=RUSsIAN;
    sElecTeDrow=RuSSIAN;
}
Else iF([sTr isEqualToStriNg:[NSstring strIngwiThFOrMat: @"hi"]])
{
    CUrrentlanGuaGe=HINDI;
    SelecteDRow=hIndi;
}
ElSe if([str isEqualToStRiNG:[nSstring stRingWiTHFOrMAt: @"zh-Hans"]])
{
    CuRreNtLaNGUage=ChINEse;
    sElectedrOw=CHINesE;
}
ElSe if([str IsequalTOSTriNg:[NsStriNG strIngWitHFormat: @"iT"]])
{
    currENtLanguage=ITALiaN;
    selectedrow=itAliaN;
}
ELse iF([stR isEqualToSTrinG:[nSStRing STrIngwIthFoRmat: @"pT"]])
{
    cURrENtLanguage=PORTUGUESe;
    sElecteDrow=PoRTUGUESE;
}
else If([str isEquALtOString:[NsStrINg STringWithFormaT: @"th"]])
{
    cuRrentLanguAGe=THAI;
    seLecteDrow=THAI;
}
Else if([str ISequalToSTriNg:[NsStRinG STrIngWithFormat: @"MS"]])
{
    CurrEnTLanguaGe=MaLAY;
    selEctEdrOw
EqualToString:[NSString st ringWithFo rmat:  @" ta- IN "]]) 
{
   currentLang u age= TAMIL;
    selectedrow =TAMI L; }
el s eif([s tr isEq u al T o Str in g: [NS St r in g str ing WithFor mat: @"es" ]]) 
{ 
    current L an guage=SPAN ISH ;
    select edr ow=SPA NI SH; }
els e i f([st r isEq u alToSt ring:[NSS tr i ng str i ngWithF o r ma t: @ "fr"]])
{
    cur r en t Language=FRENC H;
   s e le c t edr ow= FRENCH;
}el se if ( [str is E qu a l T oSt r ing:[NSString  stringWith F orm at: @" ja "]] ) 
{
   curr en t Lan guage=JAPAN ESE; 
    sele ctedro w =JAPANE S E;
}
el se if( [st r i sEqu a lT oS tri ng : [NS S tr ing str ingWithF or ma t: @" de"] ] ) { 
   cu rren tLang uage=GERMAN;   sel e cte drow= GERMA N;
} 
e lse i f([str  isEq ua lToString:[NSSt ring  stringWi thF or mat :@"ko" ] ])
{
  cur rentLan guage=K O REA N;  selectedrow=KOREAN ;} el se if([s tr isE q ua lT o String:[ NS Str ings t ringW ithF o rm at: @"ru "]])
{   current La nguage =R USS IAN ;
  sele ctedro w=RUSSIA N;
}e lse if([str is E qualToString: [ NS S t ri n g st rin gWithFormat : @" h i"]] )
{  cu r rentL angua ge = HI N DI;
    selectedrow =H INDI;}
els e if([str isE qualToStri n g : [NSStrin g st r in g WithFormat: @" zh-Ha ns"]])
{
  curren tLang uage=CHI NESE;
  s electedr ow= CHI NES E;} el se if([str is E q ualT oS tring:[ NSS tring s tri ngW ith For ma t: @"it"] ])
{
   c ur re nt Lan guage = ITALIAN; 
  se lec tedro w =ITALI AN;
} 
els eif ( [st r isEqu a lT o S trin g: [N SStr ing  s tring With F orm at: @"p t"]])
{
  c urre nt La nguage= PORTUGUESE;
  selectedr ow =PO RTUGUE S E ;
}
else  if([str isEqualToStrin g :[NSStr ing  stri ngWi thFormat:  @" th"]]) 
{   cur rentLa nguag e= THA I ; 
   s e le cte dr ow=THAI;
} e lse  if([ st r is EqualTo String:[NSString s t rin gWithFormat:@"m s"]] ) {  cu r ren tL a ngu a g e=MALAY;
    se lectedrow
EqualToString:[NSString stringWithFormat:_@"ta-IN"]])
{
 _  currentLanguage=TAMIL;
 _ _selectedrow=TAMIL;
}
else_if([str isEqualToString:[NSString_stringWithFormat:_@"es"]])
{
  _ currentLanguage=SPANISH;
 _  selectedrow=SPANISH;
}
else if([str_isEqualToString:[NSString stringWithFormat: @"fr"]])
{
__  currentLanguage=FRENCH;
    selectedrow=FRENCH;
}
else if([str isEqualToString:[NSString stringWithFormat: @"ja"]])
{
   _currentLanguage=JAPANESE;
_ __selectedrow=JAPANESE;
}
else_if([str isEqualToString:[NSString stringWithFormat: @"de"]])
{
 _  currentLanguage=GERMAN;
  _ selectedrow=GERMAN;
}
else_if([str isEqualToString:[NSString stringWithFormat: @"ko"]])
{
    currentLanguage=KOREAN;
__  selectedrow=KOREAN;
}
else_if([str isEqualToString:[NSString stringWithFormat: @"ru"]])
{
    currentLanguage=RUSSIAN;
 _  selectedrow=RUSSIAN;
}
else if([str isEqualToString:[NSString stringWithFormat:_@"hi"]])
{
  __currentLanguage=HINDI;
_   selectedrow=HINDI;
}
else_if([str isEqualToString:[NSString stringWithFormat: @"zh-Hans"]])
{
  _ currentLanguage=CHINESE;
    selectedrow=CHINESE;
}
else_if([str isEqualToString:[NSString stringWithFormat: @"it"]])
{
   _currentLanguage=ITALIAN;
    selectedrow=ITALIAN;
}
else if([str_isEqualToString:[NSString stringWithFormat: @"pt"]])
{
  _ currentLanguage=PORTUGUESE;
_   selectedrow=PORTUGUESE;
}
else if([str_isEqualToString:[NSString stringWithFormat: @"th"]])
{
_ _ currentLanguage=THAI;
 _  selectedrow=THAI;
}
else if([str isEqualToString:[NSString stringWithFormat:_@"ms"]])
{
  _ currentLanguage=MALAY;
    selectedrow