Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » How to set "French" (or whatever) as the main language

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

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

Page: 1
Go to End
Author Topic: 1445 Views
  • Blud
    Avatar
    Community Member
    2 Posts

    How to set "French" (or whatever) as the main language Link to this post

    Sorry to post this if this was already explained a hundred times, but I haven't found it yet...

    Ok, I've edited my profile and set my user preferences to french.
    But assuming I want to create a mono-lingual site (let's say for french speakers only), is there a way to translate a fresh silverstripe install into french?

    For instance, I don't know how to get rid of the "Go to xxx" in the title attribute of all my <a> links.
    Where can I change these settings?
    Are there good practices for doing that? (maybe i want to add another language at a certain stage, etc.)

    Thank you advance for your answers or links

  • FlorianH
    Avatar
    Community Member
    33 Posts

    Re: How to set "French" (or whatever) as the main language Link to this post

    You need to change the title attribute in your Template Files. If you just want a mono-lingual site you you just have to write french content and adjust your templates to it.

  • Blud
    Avatar
    Community Member
    2 Posts

    Re: How to set "French" (or whatever) as the main language Link to this post

    Thx a lot for your answer.
    I've thought the "go to" in the title attribute was also added even for the user edited content... But I did not test it before... Mea maxima culpla!
    Now it makes sense.

    1445 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.