diff --git a/ccm-core/src/main/resources/themes/freemarker/language.ftl b/ccm-core/src/main/resources/themes/freemarker/language.ftl new file mode 100644 index 000000000..c4bc1ab30 --- /dev/null +++ b/ccm-core/src/main/resources/themes/freemarker/language.ftl @@ -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> + + +<#--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()> + \ No newline at end of file