• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Multilingual CMSMS: How to add a language? (eg.: Dutch)
PostPosted: Mon Jan 15, 2007 10:56 am 
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.

Top
  
 
 Post subject: Re: Multilingual CMSMS: How to add a language? (eg.: Dutch)
PostPosted: Mon Jan 15, 2007 11:43 am 
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.

Top
  
 
 Post subject: Re: Multilingual CMSMS: How to add a language? (eg.: Dutch)
PostPosted: Mon Jan 15, 2007 2:17 pm 
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 "\n";
  for($i=0; $i<3; $i++){
echo "";
echo "";
echo "";
echo "\n";
  }## for
  echo "
Flag (14px x 11px)Code
\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


Top
  
 
 Post subject: Re: Multilingual CMSMS: How to add a language? (eg.: Dutch)
PostPosted: Wed Feb 21, 2007 11:34 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Feb 21, 2007 9:30 am
Posts: 57
Location: Brussels - Belgium
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... :)


Top
 Profile  
 
 Post subject: Re: Multilingual CMSMS: How to add a language? (eg.: Dutch)
PostPosted: Thu Mar 22, 2007 10:32 pm 
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.


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Arvixe - A CMSMS Partner