Ported language.ftl function library

Former-commit-id: 23720c57ba
pull/2/head
Jens Pelzetter 2019-12-01 16:46:02 +01:00
parent ce6177684a
commit 94cd3d2446
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
<#--filedoc
Language related utility functions
-->
<#--doc
Retrieves the supported languages.
@deprecated: Use getSupportedLanguages
@return A sequence of the available languages (as ISO language codes)
#-->
<#function getSupportedLanguages>
<#return siteInfo.supportedLanguages>
</#function>
<#--doc
Retrieves the supported languages.
@deprecated: Use getSupportedLanguages and the functions provided by the
module providing content.
@return A sequence of the available languages (as ISO language codes)
#-->
<#function getAvailableLanguages>
<#return getSupportedLanguages()>
</#function>