Page 1 of 1

Multilingual CMSMS: How to add a language? (eg.: Dutch)

Posted: Mon Jan 15, 2007 10:56 am
by vdn
When installing CMSMS Multilingual, i could choose several languages.
Though the ones i need are Dutch (Nederlands) and Flemish (Vlaams).

These both aren't mentioned. Is there a way to add these languages or change for instance Italian to Dutch?

(I know how to change the flag.gif, but how do i change ?hl=it to ?hl=nl (nl=nederlands, dutch))

Or is there an easier way?

Thanks in advance
Vincent

Re: Multilingual CMSMS: How to add a language? (eg.: Dutch)

Posted: Mon Jan 15, 2007 11:43 am
by vdn
Nevermind, i (think i) already found the solution by modifying config_lang.php and making new gifs and placing them in the image/lang directory.

edit: i try to add a content page, but when i click submit, nothing happens? no new page is being made!

and when i click Global Content Blocks i get following error:

Fatal error: Call to a member function MoveNext() on a non-object in C:\Program Files\Apache Group\Apache2\htdocs\cms\lib\classes\class.globalcontentoperations.inc.php on line 85

Re: Multilingual CMSMS: How to add a language? (eg.: Dutch)

Posted: Mon Jan 15, 2007 2:17 pm
by vdn
after thinking about what i did it seemed quite unlogical it would work properly,

i reinstalled CMSMS and checked when he added the languages,

i opened install.php and noticed these lines

//todo: add custom languages

  echo "And, if necessary, add other languages:";

  echo "\n";
  echo "Flag (14px x 11px)Code\n";
  for($i=0; $i";
echo "";
echo "";
echo "\n";
  }## for
  echo "\n";


i deleted the comment lines */ and re-ran the installation,
now i could add my own languages with my own flags
it seems to be working fine now

Re: Multilingual CMSMS: How to add a language? (eg.: Dutch)

Posted: Wed Feb 21, 2007 11:34 am
by totophe
In fact, I think that if you want to do it manualy, you have to modify the table 'content' to add menu_txt_du and content_name_du

But I'm just discovering it... :)

Re: Multilingual CMSMS: How to add a language? (eg.: Dutch)

Posted: Thu Mar 22, 2007 10:32 pm
by Hawaii
The easiest way to add more languages is putting the suitable flag(s) (for instance 'lang_du.gif') into 'install/flags' dir before the installation process.