- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Item Tags
- Tag Item Locale Temp Switch
Tag Item Locale Temp Switch
Temporarily switch to item’s locale.
This is useful on multilingual blogs. It makes sure that added texts like "Read more" are translated to the post’s locale. Of course, it only works if the target language pack is loaded on the system.
== Example ==
$Item->locale_temp_switch();
== Parameters ==
This tag does not accept any parameters.
== Return value ==
This function does not have a return value and it doesn’t display content.
It only switches locales.