Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Multilingual url as subsite of language prefix


Go to End


7 Posts   3611 Views

Avatar
Tomae

Community Member, 14 Posts

16 July 2009 at 3:08am

Hi ,

Yes version 2.3.2 rocks. Specially the part with multilingual features.
Now in the previous version after going though some workarounds and help from community we were able to develop the site with multilingual capabilities.

Please refer

Currently the site features following url format

mysite.com/en/page-name
mysite.com/de/page-name
mysite.com/dk/page-name

Now the website is up and running. We wanted to upgrade the current website to new 2.3.2 with multilingual capabilities.
Already installed a fresh copy of 2.3.2 and adding pages from live site.
All in all is good except for the fact the url formatting with language as subsite.

Can we retain the old url format with 2.3.2 while using its new multilingual features ?

Avatar
Fuzz10

Community Member, 791 Posts

16 July 2009 at 10:02pm

Unfortunately I didn't try to combine the hacks with the multilang feature in Silverstripe , but my guess is that it should be possible to maintain your URL structure .....

Avatar
BuddhaSource

Community Member, 57 Posts

16 July 2009 at 10:16pm

Thanks,

Currently i am also looking for similar solution. If someone can crack it ;)

Avatar
BuddhaSource

Community Member, 57 Posts

19 July 2009 at 4:57am

bump :)

Avatar
inkubux

Community Member, 11 Posts

25 November 2009 at 3:28am

I'm also quite interested in this. On of my clients really needs this, I was about to create it with Apache as a rewrite rule

Avatar
bschmitt

Community Member, 22 Posts

25 November 2009 at 4:29am

Hi!

Here is my first try: http://ssorg.bigbird.silverstripe.com/customising-the-cms/show/272530

If you have any improvements please let me know.

Best regards,
Bjoern

Avatar
spierala

Community Member, 80 Posts

5 May 2010 at 3:29am

hello,

i also have the problem with multilingual url:

client says urls like domain.com/management-de

would be ok.
I just wonder - does google like urls of that kind?

thx,
florian