4424 Posts in 1267 Topics by 945 members
Customising the CMS
SilverStripe Forums » Customising the CMS » Multilanguage websites in CMS
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 3975 Views |
-
Multilanguage websites in CMS

13 February 2009 at 3:35am Last edited: 13 February 2009 3:40am
Hi all , Tomae here
I have been working on a project, there user shld be able to view the website in multiple languages. My current website is in danish. Other language options are english and spanish......... i m using silver stripe's latest version 2.3...
i have gone through many posts in the forum , unfortunately i couldnt find any proper answer to my question . Pls can anybody tell me in detail how can i work it out ??
Thanks in advance .......
-
Re: Multilanguage websites in CMS

13 February 2009 at 10:11pm
Sorry I can't help directly but have you seen the following documentation:
http://doc.silverstripe.org/doku.php?id=multilingualcontent
http://doc.silverstripe.org/doku.php?id=i18nAnd an alternative:
http://doc.silverstripe.org/doku.php?id=recipes:multilingual_content
-
Re: Multilanguage websites in CMS

20 March 2009 at 7:20pm
that was helpful ....... thanks buddy ...........
i have one more problem ......... i dont want some menus in other languages ............ suppose in the danish site i have 7 links in Menu(1) and in the english one i hav only 4 .............
Is it possible to remove the menus which i dont want to show in other languages ??
thanks in advance
-
Re: Multilanguage websites in CMS

24 March 2009 at 3:42am
Hi Tomae.
I'm far from an expert but one way I'm thinking of is to edit your Navigation.ss, replace the dynamic menu generating code by a static menu with conditional lang checks :
<% if current_lang = en %>...<% else %>...<% end_if %>Best regards.
-
Re: Multilanguage websites in CMS

24 March 2009 at 6:03pm
Well a better solutions would be to have " SHOW IN MENU " for each language.
I am not sure how this can be done but this seems like a more positive solutions to the problem above.
-
Re: Multilanguage websites in CMS

25 March 2009 at 12:12am
@Tomae: Are you using multilingual content with Silverstripe 2.3+ ?
If so, how did you manage this? Well documented problems translatable and 2.3 http://open.silverstripe.org/ticket/3517
-
Re: Multilanguage websites in CMS

25 March 2009 at 2:04am
I am following the alternative method http://doc.silverstripe.org/doku.php?id=recipes:multilingual_content
Added content fields for each language and converted the language manually ...............
-
Re: Multilanguage websites in CMS

14 April 2009 at 9:15pm
Finally i got the solution .............
just put a space in other language's navigation label .............
this is how u can disable particular menu item if u dont require it for other languages..................Cheers!!
| 3975 Views | ||
|
Page:
1
|
Go to Top |



