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

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
vdn

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

Post 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
Last edited by reneh on Wed Dec 12, 2007 11:22 pm, edited 1 time in total.
vdn

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

Post 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
Last edited by vdn on Mon Jan 15, 2007 1:39 pm, edited 1 time in total.
vdn

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

Post 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
totophe
Forum Members
Forum Members
Posts: 63
Joined: Wed Feb 21, 2007 9:30 am

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

Post 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... :)
Hawaii

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

Post 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.
Locked

Return to “[locked] CMSMS MLE fork”