Jump to:

1384 Posts in 493 Topics by 522 members

Themes

SilverStripe Forums » Themes » Translate theme / page type

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 1253 Views
  • neuron
    Avatar
    Community Member
    6 Posts

    Translate theme / page type Link to this post

    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

  • lovrenco
    Avatar
    Community Member
    3 Posts

    Re: Translate theme / page type Link to this post

    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.

  • neuron
    Avatar
    Community Member
    6 Posts

    Re: Translate theme / page type Link to this post

    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.

    1253 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.