Open Source Content Management Framework

mgd_set_lang

  1. Description

mgd_set_lang -- Set current language

Description

void mgd_set_lang(int id);

Minimum version: Midgard 1.5 (Biergarten) / Multilang

Sets the id of the current language.

When a language is set, all object IO in Midgard will concern translations of the object to that particular language. Read Midgard and Multilingual content for more information.

Designed by Nemein, hosted by Anykey