#IF(#DELETE)

{Warning}

{AcceptAction}
#LOOP(#DeleteObjects)#ENDLOOP #ELSIF(#FeatureMaxValueReached)

{Notification}

{CouldNotCreateObject}
{FeatureMaxValue} #Shop.FeatureMaxValue.Languages #INCLUDE("FeaturePromotion")
#ELSIF(#Shop.FeatureCurrentValue.Languages NGE #Shop.FeatureMaxValue.Languages)

{Notification}

{FeatureMaxValueReached}
{FeatureMaxValue} #Shop.FeatureMaxValue.Languages #INCLUDE("FeaturePromotion")
#ENDIF #IF((NOT(#DELETE))AND(NOT(#DELETE_LAST))AND(NOT(#FormError))) #IF ((#COUNT(#Shop.SiteLocales) NGE 2)AND(NOT(#Shop.DefaultStyle.Child.NavBarElements.Child.LocaleFlags))AND(NOT(#Shop.DefaultStyle.Child.NavBarElements.Child.LocaleBox)))

{Notification}

{ShowLocaleFlags}
{AddNavElementNow}
#ENDIF #IF ((#COUNT(#Shop.SiteLocales) NEQ 1)AND(#Shop.DefaultStyle.Child.NavBarElements.Child.LocaleFlags OR #Shop.DefaultStyle.Child.NavBarElements.Child.LocaleBox))

{Notification}

{HideLocaleFlags}
{DeleteNavElementNow}
#ENDIF #ENDIF #IF(#DELETE_LAST)

{Attention}

{DeleteLast}
#ENDIF #IF(#DELETE_LAST_BO)

{Attention}

{DeleteLastBO}
#ENDIF #LOCAL("ErrorLocaleID", 0) #IF(#FormError)

{InputError}

#IF(#FormErrors.Reason.LOCALE_NOT_ACTIVE) #LOOP(#FormErrors.Errors) #SET("ErrorLocaleID", #Value) #ENDLOOP {CannotDeleteDefault} #ELSIF(#FormErrors.Reason.CANNOT_DELETE_DEFAULT) #LOOP(#FormErrors.Errors) #IF(#DEFINED(#Value))#SET("ErrorLocaleID", #Value)#ENDIF #ENDLOOP {CannotDeleteDefault} #ELSE {PleaseCorrectErrors} #ENDIF
#ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOCAL("Alternate",0) #LOCAL("ShopLocaleID", #LocaleID) #LOOP(#Shop.Child.Languages.ChildObjects) #SET("Alternate",1-#Alternate) #LOOP(#Locales) #LOCAL("ISACTIVE",0) #LOCAL("LangLocaleID",#LocaleID) #LOOP(#SiteLocales) #IF(#LocaleID EQ #LangLocaleID) #SET("ISACTIVE",1) #ENDIF #ENDLOOP #ENDLOCAL #ENDLOCAL #SET("Alternate",1-#Alternate) #ENDLOOP #ENDLOOP #ENDLOCAL #ENDLOCAL #LOCAL("NoNewEntry", (#Shop.FeatureCurrentValue.Languages NGE #Shop.FeatureMaxValue.Languages AND #Shop.FeatureMaxValue.Languages NE 1)) #ENDLOCAL #ENDIF
{Language} / {Country} {Visible} {IsDefault} {Position}
{Language}
{Position}
{Country}
#Native#IF(#Native NE #English) (#English)#ENDIF
#Native (#English, #French)
{Code3} #Code2 (#Code3)
#LOCAL("LanguageDisabled",0) #LOOP(#Shop.SiteLocales)#IF(#LanguageID EQ #Language.LanguageID)#SET("LanguageDisabled",1)#ENDIF#ENDLOOP #ENDLOCAL
#Native#IF(#Native NE #English) (#English)#ENDIF
#Native (#English, #French)
{Code3} #Code2 (#Code3)
#IF(#FlagGif)#Country.Native #ENDIF #Country.Native #IF(#Country.English NE #Country.Native)(#Country.English)#ENDIF
#LOCAL("Locale", #LocaleID)
#Country.Native #IF(#Country.English NE #Country.Native)(#Country.English)#ENDIF
{Alias} #LocaleID
{ThousandSep} #ThousandSep
{DecimalSep} #DecimalSep
{DateFormat} #Now[datetime]
{MoneyFormat} #LOCAL("MoneyExample",12345.67)#MoneyExample[money]
#MoneyExample[neg,money]#ENDLOCAL
#ENDLOCAL
#IF(#ISACTIVE) #ENDIF
#IF(#DELETE) #ELSE #IF(#COUNT(#Shop.Languages) NNE 1) #ENDIF #ENDIF
#ENDLOCAL
#IF(NOT #DELETE)

{RelatedTopics}

#ENDIF