Ported language.ftl function library
parent
15514bc078
commit
9e1d875457
|
|
@ -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>
|
||||||
Loading…
Reference in New Issue