![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Can anyone briefly describe how to setup/prepare a multilanguage website with phpwcms.
Are there different approaches, where can I see an online example etc. ?Thank you!
{NAV_LIST_CURRENT} - fixed replacement tag
The {NAV_LIST_CURRENT} replacement tag uses predefined settings. To change the layout you have to adjust the CSS information of page's template on which the navigation list should be presented. The predefined class is "list_level". To use your own class name you have to use the customizable replacement tag
{NAV_LIST_CURRENT:show-index:index-name:list_class}
This is the customizable version of the current level replacement tag: show-index can be set to 0 or 1. If it is set to 0 the index-name will not returned. You can name the index-name as you like. This links back to the parent level. You can use your own class name with this replacement tag.
Well frold, this is a pretty idea, but there's a method to have a "switch language" like in TYPO3?frold wrote:easiest whay to do is making
a menu like this:
English
->Level 1
->Level 2
German
->Level 1
->Level 2
Spanish
->Level 1
->Level 2
etc.....
and then create a template for every language.
is looks as though http://www.gotrisports.com is not a phpwcms multilingual site. only the x-cart is multilingual and that I would imagine is out of the box.DIrk wrote:Ask this guy
http://www.phpwcms.de/forum/viewtopic.php?t=1572
He made http://www.gotrisports.com
i hope you like the multilang menue what i create major dad!*gggpSouper wrote:I like this thread a lot
SNap even has a site that i can understand..well, the english part anyway
I think I'd use images for the languages instead of a menu item because if is not in a language you understand you may need a visual clue
Is there more information available than this? It seems to be that this fits my requirements for a two language webpage.Pappnase wrote:i had also created a 2 lang website!![]()
you only need to create 2 templates! one for englisch one for e.g. german.
in the german template you call in the left table eg. {NAV_TABLE_COLUMN:1} 1 = the strukture level where german starts!
everything below german would be shown as own menue.
in the english tempalte you use the same tag eg. with {NAV_TABLE_COLUMN:10} and everything would be shown whats below english.
home (ID:0)
German (ID:1)
.....
Englisch (ID:10)
.....
you get your ID's when you go to the backend in the admin menue -> sitestructure and move the mouse over the sheet before the structure name!