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.

Themes /

Discuss SilverStripe Themes.

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

Translate theme / page type


Go to End


3 Posts   2090 Views

Avatar
neuron

Community Member, 6 Posts

10 May 2010 at 9:07pm

Hi there!

I set up my website in English and now have finally figured out to enable multiligual content for Finnish and German. Translating the content works absoluetly fine and it is so convenient to switch languages.

There is only one problem I can't solve yet. When I switch languages the content and the menus will change as planned but not the theme stays the them.

The problem is though that the page name and the footer in my theme are in english right now and it would be great to load a different page type for translated content with a German or Finnish title head and footer repectifely. If I go to the translated site in the CMS and try to change the page type in the Behaviour tab it would let me do so. Does anybody have an idea how to achive this? Any help would be greatly appreciated.

Best,
Torsten

Avatar
lovrenco

Community Member, 3 Posts

20 July 2010 at 11:20am

Did you fimd solution?

Also, language un template, after doctype declaration is hard coded to english "en" no matter on which language page is translated. It should be some variable there.

Avatar
neuron

Community Member, 6 Posts

20 July 2010 at 8:58pm

Unfortunately I didn't find a solution yet. I simply decided to leave things as such and only translate the content. This is obviously not the best solution but for now it works. It would be so simply if one could change the page type and than create a page type with a translated frame.