<?php require("M2Translator.class.php"); $i18n = new M2Translator("lang/", "en"); echo $i18n->get("test_string"); $subsection = $i18n->getSection("section"); echo $subsection->get("subsection_test"); ?>