ePages 7.37.0 - DE_EPAGES/Presentation/API/TLE/LocaleHandler.pm

Package DE_EPAGES::Presentation::API::TLE::LocaleHandler

This package provides the TLE function "ChangeLocaleURL".

Functions

AddLanguageToUnitySfURL
ChangeLocaleURL

AddLanguageToUnitySfURL

Converts a given AltLanguageID to the fitting language code and adds this to the given URL if it is different to the given LanguageID

Syntax
#AddLanguageToUnitySfURL(#URL, #AltLanguageID, #LanguageID)
Input
#URL (string)
Unity storefront URL
#AltLanguageID (string)
language id
#LanguageID (string)
language id
Return
#URL (string)
url with added locale

ChangeLocaleURL

Returns url with changed locale.

Syntax
#ChangeLocaleURL(#LocaleID)
Input
#LocaleID (string)
locale id
Return
#URL (string)
url with changed locale