ePages 7.26.0 - DE_EPAGES/Presentation/API/LocaleHandler.pm

Package DE_EPAGES::Presentation::API::LocaleHandler

This package provides the helper functions of the locale handler.

@EXPORT_OK
AddLanguageToURL

Functions

AddLanguageToURL

AddLanguageToURL

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
AddLanguageToURL($URL, $AltLanguageID, $LanguageID)
Input
$URL (string)
Unity storefront URL
$AltLanguageID (string)
language id
$LanguageID (string)
language id
Return
$URL (string)
url with added locale