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

Meta-Tag Language


Reply


2 Posts   1579 Views

Avatar
Peccata

Community Member, 1 Post

16 January 2008 at 12:22am

I've been working with ss since 3 days now (noobie). My problem is, that I publish the content in German language but the $MetaTags allways shows the content-language "en". I allready changed the admin menu as well as the profile into "German" but there are no changes on the language meta tag.
Could anyone help me out here?

Avatar
dio5

Community Member, 501 Posts

16 January 2008 at 4:52am

It uses Translatable::current_lang() to get it, so I figure there must be a way to set it.

Have a look at

http://api.silverstripe.com/sapphire/core/i18n.html#set_default_lang

and

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