Powered by MediaWiki
Personal tools

Tag item locale temp switch

From b2evolution manual

Jump to: navigation, search

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.

[edit] Example

$Item->locale_temp_switch();

[edit] Parameters

This tag does not accept any parameters.

[edit] Return value

This function does not have a return value and it doesn't display content.
It only switches locales.