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.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Support for multilingual content


Go to End
Reply

12 Posts   6239 Views

Avatar
konfjuzd

14 November 2007 at 10:37pm 16 Posts

How this works? any samples / tuts / docs?

Avatar
Fuzz10

15 November 2007 at 1:24am Community Member, 787 Posts

http://doc.silverstripe.com/doku.php?id=multilingualcontent&s=language

Avatar
konfjuzd

15 November 2007 at 10:57am 16 Posts

hmm, nice but I fail on first line:

Fatal error: Class 'phpi18n' not found in /home/XXXX/XXXXX/_config.php on line 1
I put i18n::enable(); on top of config file.

Avatar
Sigurd

15 November 2007 at 2:57pm Forum Moderator, 628 Posts

It requires SilverStripe 2.2+

Avatar
Andy

15 November 2007 at 3:53pm 230 Posts

also it sounds like you have

<?phpi18n::enable()

instead of

<?php
i18n::enable()

Avatar
konfjuzd

15 November 2007 at 10:40pm (Last edited: 15 November 2007 10:41pm), 16 Posts

ok, it was <?phpi18n............

but now i have:

ERROR:
Error

The website server has not been able to respond to your request.

(and /db/build brings blank screen)

Avatar
Henk Poley

30 November 2007 at 12:08am 30 Posts

Could somebody take a look at [url=http://open.silverstripe.com/ticket/1928]ticket #1928[/url]? Enabling i18n seemed to work fine. But I can't create translated pages.

Avatar
Sigurd

5 December 2007 at 10:17am Forum Moderator, 628 Posts

konfjuzd; turn devmode on to see your error.

Go to Top