- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Other Tags
- Template Tag: Locale Lang
Template Tag: Locale Lang
This template tag returns or displays the current language.
Example
locale_lang( $disp = true );
Parameters
- Name: disp
- Default: true
- Usage: If ‘disp’ parameter is true then the language will be displayed. If ‘disp’ parameter is false then function will only return language
Return value
This function return language, if ‘disp’ parameter is false.
If ‘disp’ parameter is true then this function displays language.