cms_lang_info tag

We need your assistance to make the documentation accurate, user friendly and understandable. Therefore we welcome any tips or suggestions regarding documentation. Thank you in advance for your contribution.

However, we will not respond to technical support questions submitted using this form. If you are having difficulty with CMSMS and cannot find the solution on this website, please submit your question appropriately on our support forum at: http://forum.cmsmadesimple.org. Please remember to follow the forum rules when posting.

CMS Made Simple™ Partner



   Purpose

This plugin returns an object containing the information that CMSMS has about the selected language. This can include locale information, encodings, language aliases etc.

   How to use?

{cms_lang_info assign='nls'}{$nls->locale()}

   Available parameters

  • lang - The language to return information for. If the lang parameter is not specified then the information for the current CMSMS language is used.
  • assign - Assign the output of the plugin to the named smarty variable.

   Syntax examples

{cms_lang_info assign='nls'}{$nls->locale()}