Thanks a lot your support. If i'm able to make it multi with your help I will translate the how to in french.
Like "How to made cmsmadesimple multilanguage for noob like me" ^_^
Best regards gogou
Site Multilangue
Moderator: jce76350
Re: Site Multilangue
Je pensait avoir posté :s
I've made the two section header, english and french. But now what do I ve to do?
It is written: "It evaluates a $_get variable named pimsw (= pimenuswitch) if available and sets a Smarty variable named $pimsw. Default is 0.".
- ok but where do I set the smarty variable?
Then "now we take the default template pimenu.tpl, which represents CSSMENU and change it for our purpose".
- ok but where do I have to put the pimenu (wich directory) and how ccan i install it. Thenthe stuff I've to change, where do I change them and do I ve to keep old stuff in the tpl?
Sorry but I'm quite lost, I don't know how it work.
Regards Gogou
EDIT, from piratos: (thanks for your help)
Ok
I use Sectionheaders
Deutsch
English
Stop
These Sectionsheaders should be declared as not visible in the menu.
The Sectionheader Deutsch and English are my Headlines if i edit contents in Deutsch or English.
All Contents in Deutsch are under Sectionheader Deutsch.
All Contents in English are under Sectionheader English.
The Sectionheader Stop is for the pimenu (Name it to what you want).
Pimenu can now divide the Contents between Deutsch and English as one Block Deutsch.
Between English and Stop it is the Block English.
That is all. The rest i make with a Template and pimenu .
If you know this it is very simple to find the line to edit new contents.
If you have more Languages you add some new Sectionhedders.
I explained that in the pdf handbook (is there anybody who translate it ?)
I've made the two section header, english and french. But now what do I ve to do?
It is written: "It evaluates a $_get variable named pimsw (= pimenuswitch) if available and sets a Smarty variable named $pimsw. Default is 0.".
- ok but where do I set the smarty variable?
Then "now we take the default template pimenu.tpl, which represents CSSMENU and change it for our purpose".
- ok but where do I have to put the pimenu (wich directory) and how ccan i install it. Thenthe stuff I've to change, where do I change them and do I ve to keep old stuff in the tpl?
Sorry but I'm quite lost, I don't know how it work.
Regards Gogou
EDIT, from piratos: (thanks for your help)
Ok
I use Sectionheaders
Deutsch
English
Stop
These Sectionsheaders should be declared as not visible in the menu.
The Sectionheader Deutsch and English are my Headlines if i edit contents in Deutsch or English.
All Contents in Deutsch are under Sectionheader Deutsch.
All Contents in English are under Sectionheader English.
The Sectionheader Stop is for the pimenu (Name it to what you want).
Pimenu can now divide the Contents between Deutsch and English as one Block Deutsch.
Between English and Stop it is the Block English.
That is all. The rest i make with a Template and pimenu .
If you know this it is very simple to find the line to edit new contents.
If you have more Languages you add some new Sectionhedders.
I explained that in the pdf handbook (is there anybody who translate it ?)
Last edited by gogou on Fri Mar 03, 2006 1:30 am, edited 1 time in total.
Re: Site Multilangue
I've done this:
I use Sectionheaders
Deutsch
English
Stop
These Sectionsheaders should be declared as not visible in the menu.
The Sectionheader Deutsch and English are my Headlines if i edit contents in Deutsch or English.
All Contents in Deutsch are under Sectionheader Deutsch.
All Contents in English are under Sectionheader English.
The Sectionheader Stop is for the pimenu (Name it to what you want).
Now how do I use pimenu? I'm lost :s
I use Sectionheaders
Deutsch
English
Stop
These Sectionsheaders should be declared as not visible in the menu.
The Sectionheader Deutsch and English are my Headlines if i edit contents in Deutsch or English.
All Contents in Deutsch are under Sectionheader Deutsch.
All Contents in English are under Sectionheader English.
The Sectionheader Stop is for the pimenu (Name it to what you want).
Now how do I use pimenu? I'm lost :s
Re: Site Multilangue
To the first you must copy pimenu to plugin directory and your template (I name it multilang.tpl) to tmp/templates directory. The you can call pimenu in your template like this
{pimenu template="multilang.tpl" language="French,English,Stop" trenner=""}
{pimenu template="multilang.tpl" language="French,English,Stop" trenner=""}
Re: Site Multilangue
Ok I've put everything in place.
but in the tmp\templates I don't have anything except a index.html with 0ko :s
Don't know what to do next. Sorry I'm lost again I still can't use it :/
but in the tmp\templates I don't have anything except a index.html with 0ko :s
Don't know what to do next. Sorry I'm lost again I still can't use it :/