فتحات العرب Joomla! • Index page: Language - Joomla! 3.x • embeded multilanguage

Sunday, June 1, 2014

Language - Joomla! 3.x • embeded multilanguage

Hello to you all. I have an external page that I would like to add language string to it for translation purposes. I created a menu wrapper for that external. Now I am clueless as to where to start to make the language string work with that external page. So far the string is showing in the page but not the exact word. Your help would be very appreciated. I've added this block of code on top of the header of the external page but that didn't work



<?php

define('_JEXEC', 1 );

define('JPATH_BASE', $_SERVER['DOCUMENT_ROOT'] );

define( 'DS','/' );



require_once ( JPATH_BASE.DS. 'includes'.DS.'defines.php' );

require_once ( JPATH_BASE.DS.'includes'.DS.'framework.php' );

require(JPATH_BASE.DS.'libraries/joomla/factory.php');



$mainframe =& JFactory::getApplication('site');

$mainframe->initialise();

?>

Statistics: Posted by Plezi69 — Sun Jun 01, 2014 5:25 pm








via Joomla! http://ift.tt/1n0JZoz

No comments:

Post a Comment