#BLOCK("WITH_FORM_ERROR", #FormError)
#IF(#FormError)

{InputError}

#ENDIF #IF(#DEFINED(#AddedLanguage))

{Notification}

#AddedLanguage.Native#IF(#AddedLanguage.Native NE #AddedLanguage.English) (#AddedLanguage.English)#ENDIF {LanguageSuccessfullyAdded}
#IF(#DEFINED(#AddedLocaleCountry)) #AddedLocaleCountry.Native#IF(#AddedLocaleCountry.Native NE #AddedLocaleCountry.English) (#AddedLocaleCountry.English)#ENDIF {AddedToCountries} {EditCountries} #ENDIF
#ENDIF #IF(#DELETE)

{AcceptActionInfo}

#REM #ENDREM
#ELSE #IF(#Shop.FeatureCurrentValue.Languages NGE #Shop.FeatureMaxValue.Languages)

{Notification}

{FeatureMaxValueReached}
{FeatureMaxValue} #Shop.FeatureMaxValue.Languages #INCLUDE("FeaturePromotion")
#ENDIF
{LanguageInfo}
#ENDIF #IF(NOT #DELETE) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #REM #ENDREM #REM #ENDREM #IF(#FormError_NewLanguageID) #ENDIF #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#SORT(#ShopLanguages,"Native")) #ENDLOOP #ENDIF
{Language} {Visibility}
#Native #IF(NOT (#English EQ #Native))(#English)#ENDIF #SNIPPET("INC-Status", "IsNotVisible",1)
#ShopDefaultLanguage.Native #IF(NOT (#ShopDefaultLanguage.English EQ #ShopDefaultLanguage.Native))(#ShopDefaultLanguage.English)#ENDIF #SNIPPET("INC-Status", "IsNotVisible", 0)
#Native #IF(NOT (#English EQ #Native))(#English)#ENDIF #SNIPPET("INC-Status", "IsNotVisible", #IsNotActive)
#IF(#DELETE)
#ENDIF
#ENDBLOCK