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

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


Reply


3 Posts   1547 Views

Avatar
Blud

Community Member, 2 Posts

23 September 2008 at 10:44am

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

Avatar
FlorianH

Community Member, 33 Posts

23 September 2008 at 6:46pm

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.

Avatar
Blud

Community Member, 2 Posts

23 September 2008 at 7:58pm

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.