Forumlar / Cotonti / Extensions / i18N - Multilanguage

News on index page

Oughtem
#21123 2009-11-21 05:42
Unfortunately plagyn n18 does not change the variable of language on the page of index.php But it perfectly does plagyn langselect.
It is here possible to look as languages are commuted. On all site except for index.php switching takes place by n18, and on index.php it is possible to be perfectly commuted by langselect.

Here what outputs I see:

1. to compel to work n18 in index.php - did not turn out;(

2. it is correct to prescribe in header.php


<!-- IF {PAGE_URL} = 'index.php' -->
	{PLUGIN_LANGSELECT}
<!-- ELSE -->
   	 <!-- BEGIN: LANG_ROW -->
        <a href="{LANG_ROW_URL}" class="{LANG_ROW_CURRENT}" title="{LANG_ROW_NAME}">{LANG_ROW_FLAG}</a>&nbsp;&nbsp;
    <!-- END: LANG_ROW -->
<!-- ENDIF -->


it did not also turn out ;(

3. To create header.index.tpl separately for index.tpl langselect will work in which. An ordinary header with n18 will work in all the other places. Did not turn out also ;((

4.To unite langselect and n18 in one plagyn. This I am not able)

I most like variant with logical blocks

On the site of http://www.adriaticclub.com/ by the way translation is carried out not on index.php, and on page and list
Bu gönderi Oughtem tarafından düzenlendi (2009-11-21 05:52, 15 yıllar önce)