Thanks for your post.
Notice: Undefined variable: artlangtxt in c:\program files\html\easyphp1-7\www\cmsmadesimple\modules\gastbuch\gastbuch.module.php on line 467
Notice: Undefined variable: artlang in c:\program files\html\easyphp1-7\www\cmsmadesimple\modules\gastbuch\gastbuch.module.php on line 468
Wich language are you useing?
If not german or english it shows you the language cms use as default.
in the next vesion I have already changed this.
while you are waiting you could
Insert in to the admin language file this
(You will find it in modules/gastbuch/lang/)
Code: Select all
$artlang= $_COOKIE["cms_language"];
$artlangtxt=" ";
This code you enter into default english and german.
How do I use the language support to add another language?
The language support is for the admin page of gastbuch.
its very easy.
first open your cms and change the default language into the language you want to create.
then goto gastbuch and it must be show you some text like this:
This shown languagename you could choose to create your own admin language.
This is your curent language:
nl_NL
curent language:
nl_NL is important
copy the english language and post it under the English language
change 'en_US' to 'nl_NL'
Now you could change all names into Dutch
Code: Select all
// If Default Language is Nederlands(Dutch)
//---------------------------------------------------------
elseif($_COOKIE["cms_language"]=='nl_NL')
{
$beab="Edit";
$loesen="Delete";
$ativi="Aktivate";
$deakti="Disable";
$accerr="You need the 'Modify gastbuch' permission to perform that function.";
$addgait="Add gastbuch Item";
$allentr="All Entries";
$absender="Sender";
$mailadd="E-mail";
$hpag="Homepage";
$eintr="Message";
$senden="Submit";
$abbruch="Cancel";
$postdate="Postingdate";
$artlang= $_COOKIE["cms_language"];
$artlangtxt="";
}
this is your Nederlands language
When I refresh a page (public page) after adding an item, the same item is added once more
I will put it on the todo list.
Kris