Jump to:

23453 Posts in 18904 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Translate site

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 908 Views
  • pjssms
    Avatar
    Community Member
    49 Posts

    Translate site Link to this post

    Hello,

    I have created all the pages in Portuguese as well as the names of the pages.

    I have used instructions on http://doc.silverstripe.com/doku.php?id=multilingualcontent&disqus_reply=4958678#comment-4958678 and now i have the option to add more languages.

    I was able after the rebuild to go to all the first level pages and clic to have a translation of the page. It has automatically copied all the data to the new version.

    However it doesn´t show the second level pages.

    I add to switch back to english version, then select a second level page and just then i got a new page in portuguese.

    However now the system shows on the left column one english and TWO portuguese versions.

    Would that work like that ?

    How do i say to the system that all my pages are in Portuguese and that the default language is portuguese ? Should i create the portuguese version of all the pages first ?

    I think i will need to something like:

    Add the following code at beginning of "cms/_config.php" and of "sapphire/_config.php":
    i18n::set_locale('fr_FR');

    I don´t know the locale for Portugal.

  • pjssms
    Avatar
    Community Member
    49 Posts

    Re: Translate site Link to this post

    anyone ?

  • Terminator4
    Avatar
    Community Member
    81 Posts

    Re: Translate site Link to this post

    Sounds like there might also be an SS issue with something that is happening there.

    However, the locale for Portugal is: pt_PT

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