• 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




Post new topic Reply to topic  [ 131 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next
Author Message
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Mon Jul 06, 2009 6:32 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Jan 02, 2008 11:39 pm
Posts: 2102
Location: Lewiston-Idaho
for what it's worth

{news category="`$page_lang`_news"}

should work also
as well as

{news category="`$page_lang`*"}


Cheers
jeremyBass


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Sat Jul 25, 2009 1:08 am 
{language_menu} user defined tag doesn't work correctly on CMSMS 1.6.

For example, instead of displaying
\$1:
<span xml:lang="en">English</span>


It displays
\$1:
<span xml:lang="en">English</span>


Because of that the menu is displayed incorrectly.
It took me a while to figure out what's wrong with that. It seems that in CMSMS 1.6 all text passed to function cms_selflink() are also passed to function cms_htmlentities(). That effectively replaces html special characters with html entities.

In order to make it work again, you have to comment lines 345, 361 and 439 in function.cms_selflink.php.
Threads that I've found the info about this problem:
http://forum.cmsmadesimple.org/index.php?topic=34935.0
http://forum.cmsmadesimple.org/index.php/topic,31913.0.html

I wonder if there's a way to fix this problem without editing function.cms_selflink.php?


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Tue Jul 28, 2009 5:02 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jun 12, 2007 1:29 pm
Posts: 247
I hope so, this multilanguage option is useful and easy to setup.

I just upgraded one site and was wondering how to fix this display problem... Anyway, thanx for the temporary solution.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Fri Aug 07, 2009 2:55 pm 
Sorry for a lame question, I really spend 4-5 hours trying to find whats wrong..

But I couldnt find what I did wrong, I can only get to show the languages flag picture, but no menu.. Where should I look?

site is here video-foto . lt

Thanks a lot


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Wed Aug 26, 2009 12:34 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Oct 15, 2008 10:38 am
Posts: 196
For those interested, I released a module in the forge (http://dev.cmsmadesimple.org/projects/babel) that manages frontend languages based on Marcos Cruz's separate tree branches method.

Features:
  • Admin Interface to allow easy setup (reading the help should be enough) and customization.
  • Possibility to find alternatives pages either with Marcos Cruz's manual method (the ''Other languages' content block) or by using page hierarchy (recommended usage).
  • Possibility of redirection based on cookies and/or browser language.
  • Uses a template to display the menu, so that you can do pretty much what you want.
  • Includes a small translation system like the modules' Lang() function.

Pierre-Luc


Last edited by plger on Wed Aug 26, 2009 12:36 pm, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Wed Aug 26, 2009 2:16 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Jan 25, 2007 2:54 pm
Posts: 124
Location: España / Hispanujo / Spain
plger \plger:
For those interested, I released a module in the forge (http://dev.cmsmadesimple.org/projects/babel) that manages frontend languages based on Marcos Cruz's separate tree branches method.


Great. I've included links to your message in the implementation guide.

_________________
Marcos Cruz


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Sun Sep 06, 2009 8:54 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jun 12, 2007 1:29 pm
Posts: 247
Hi Pierre-Luc,

looks promising, will try it for a new site i'm working on the next coming days.

Is there a way that this module appears in the translate center so that we can translate it ? Do you already have a french version of it ?

Thanx a lot !


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Mon Sep 07, 2009 7:57 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Oct 15, 2008 10:38 am
Posts: 196
It is a shame, but I don't have the slightest idea how the translation center works... in any case, I have added french language files to the last release (0.3.2) of the module (which also solves two significative bugs)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Mon Sep 07, 2009 12:51 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jun 12, 2007 1:29 pm
Posts: 247
Nice :-)

BTW, don't have a clue either for the translate center, but it could be interesting for other languages (than english & french) to be able to translate this module, don't you think ? As I'm french, it's ok for me now ;-)

Thanx !


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Tue Sep 08, 2009 2:50 pm 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3679
Location: Paris
About Translations/TC, French speakers ask Jean-Claude in http://forum.cmsmadesimple.org/index.ph ... ,10.0.html
Pierre

_________________
-- Pierre, former support team member.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Thu Sep 10, 2009 3:59 pm 
This module really looks great! Thanks!
Though I can't get the main menu to show, but I hope I'll soon figure it out ;)

It should work just by specifying
\$1:
{menu start_level="2"}

right ?

I get the language menu, but the main menu doesn't seem to work...

EDIT:
Ok, I've found the problem - it seems it's a bug in MenuManager module in CMSMS 1.6.5, please see this link:
http://forum.cmsmadesimple.org/index.ph ... 147.0.html

After editing modules\MenuManager\action.default.php everything is working ok.
Thanks again for the great module, it really saved me a lot of time!


Last edited by tosi on Thu Sep 10, 2009 4:08 pm, edited 1 time in total.

Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Thu Sep 10, 2009 5:13 pm 
Is there any way to have multiple menus using this method / module?


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Sun Sep 13, 2009 2:42 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Oct 15, 2008 10:38 am
Posts: 196
Could you explain what you mean exactly by multiple menus?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Mon Sep 14, 2009 12:56 am 
Offline
New Member
New Member

Joined: Fri Sep 11, 2009 10:00 am
Posts: 6
Thanks for this module!
But i have some trouble. When I click in Language menu I have blank page (redirection don't work) (I use hierarchy for redirection)
Please tell me what I do wrong.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: One more approach to build a multilingual site with the regular CMSMS
PostPosted: Sat Sep 19, 2009 8:37 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Oct 15, 2008 10:38 am
Posts: 196
I'm afraid you'll have to give me a bit more info if you want help...
First of all, is the url of your blank page the url of the page you were at, the one that should be shown (in the new language), or completely something else?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 131 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next

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
Hosting Nation - Managed CMSMS Hosting