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.

Archive /

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

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

Change Blog default languague


Go to End


4 Posts   2697 Views

Avatar
msantang

Community Member, 41 Posts

8 March 2008 at 12:06pm

Im making a new site with default lenguague Spanish.

i add on _config.php (mysite):
i18n::enable();
i18n::set_default_lang('es');
i18n::set_locale('es_ES');

and the same on _config.php (blog)

Admin loguin are in spanish but the entire blog page are in english.

How i change the blog languague?

Thanks in advance.

Avatar
(deleted)

Community Member, 473 Posts

8 March 2008 at 4:16pm

If you're talking about the content of the page, you need to change it yourself from within the CMS.

Avatar
msantang

Community Member, 41 Posts

9 March 2008 at 7:02am

No, im talking about the link of the module blog, for example "comments" ,"Posted by on 1 March 2008 ","Post a new blog entry", etc.

Avatar
(deleted)

Community Member, 473 Posts

9 March 2008 at 7:47am

That will require you to do an SVN checkout of the blog modules.

svn co http://svn.silverstripe.com/open/modules/blog/trunk blog

Then in the blog/lang folder, copy en_US.php ro es_ES.php, and edit es_ES.php, translating it to Spanish.

If you can't do a SVN checkout, you'll need to wait for 0.1.1 of the blog to be released.