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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

DOM with more than one language possible?


Go to End


7 Posts   2207 Views

Avatar
patte

Community Member, 63 Posts

11 March 2010 at 4:31am

Hey,

I need to build a website with about three languages - there are dataobjects and they have to be translatable.

Is this possible with SS/DOM? I have no problem with translating pages ... but dataobjects...

Any idea?

patte;-)

Avatar
danzzz

Community Member, 175 Posts

12 March 2010 at 3:40am

hi patte,

yes it's possible, I implemented it with success. I can translate text and also use different images for different languages.
but there is a small modification of the CMSmain.php needed.
try to search for it here in the forum ...

contact me if you dont find it, I can send you the code ...

danzzz

Avatar
patte

Community Member, 63 Posts

12 March 2010 at 5:23am

Hi danzzz,

that sounds perfect ;-) But - as you wrote - I couldn`t find it in this forums... can you please post a link?

Thanks
patte ;)

Avatar
danzzz

Community Member, 175 Posts

12 March 2010 at 5:57am

hi

I also can't find it :-)

But check out this:
http://pastie.org/865196

it's the modified init function from CMSmain.php

danzzz

Avatar
Juanitou

Community Member, 323 Posts

12 March 2010 at 11:11am

Hi danzz!

Did you submit that to Trac?

Regards,
Juan

Avatar
patte

Community Member, 63 Posts

12 March 2010 at 10:13pm

Thanks danzz!
I`ll give it a try as soon as i can

Patte;-)

Avatar
TomG from Squashed Pixel

Community Member, 6 Posts

29 July 2011 at 6:39am

I could kiss you danzzz, I've been banging my head against the desk for the last 4 hours trying to work this out and just goign round in circles