lang_print函数属于什么Smarty插件,它有什么作用?

Hi guys I'm playing with Smarty. As I'm new to Smarty I have no good understanding of some functions, so my question could be silly.

I would like to know what the following tag/function does, it is not in the Smarty documentation, I is probably a function of a Smarty plugin:

{lang_print id=756}
{lang_print id=720}
{lang_print id=123}
{lang_print id=2343}
{lang_print id=34123}
{lang_print id=3342}
{lang_print id=2233}

What does this do? Please kindly explain it to me.

Not sure if it's good form to answer questions this old, But this might be helpful to someone with a similar problem:

The lang_print is not a native smarty function. Therefore it is a custom smarty plugin. You need to find the php code for the custom plugin to determine what it does.

Plugins are stored in a folder defined in the $smarty->plugins_dir. By default this is the 'plugins' folder underneath the smarty folder. http://www.smarty.net/docs/en/variable.plugins.dir.tpl

Plugins are separate files with names based on the plugin name, according to a specific naming convention. In this case the filename would be functions.lang_print.php http://www.smarty.net/docs/en/plugins.naming.conventions.tpl

You can look at the plugin php code to determine what it does, by reading the code and using regular php debugging techniques. http://markonphp.com/6-debugging-tips-php-coders-should-know/ Debug logging using error_log is one of the most common ways due to the complexity of getting a php debugger to work in most environments.