setOptions( array( 'format' => 'translation-[LOCALE].xml' ) ); $manager = new ezcTranslationManager( $backend ); $headersContext = $manager->getContext( 'nb_NO', 'tutorial/headers' ); $descriptionContext = $manager->getContext( 'nb_NO', 'tutorial/descriptions' ); echo $headersContext->getTranslation( 'header1' ), "\n"; echo $descriptionContext->getTranslation( 'desc1' ), "\n"; echo $descriptionContext->getTranslation( 'desc2' ), "\n"; ?>