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;-)
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
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;-)
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
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 ;)
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
Hi danzz!
Did you submit that to Trac?
Regards,
Juan
Thanks danzz!
I`ll give it a try as soon as i can
Patte;-)
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