Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problems with translate to Portuguese

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: 1208 Views
  • juandavidgc
    Avatar
    Community Member
    36 Posts

    Problems with translate to Portuguese Link to this post

    Hey!

    Well i'm building a web site, and i need to make a translation to Spanish, English, French and Portuguese. In the cms i build my page in spanish, the default langage, and i translated it to English, French and Portuguese.

    In the page template, i put four links to the page and i pass for get the language, for example, for change the language to english i put $Link/?lang=en, for french i put $Link/?lang=fr. For Portuguese i put $Link/?lang=pt

    The translate in the cms is a translation for Portuguese(Portugal)

    Well the problem is that when i select Portuguese, the language doesn´t change. When i select the others languages, the languge change, the problem it's only with Portuguese.

    I apreciate your help, thanks!

  • juandavidgc
    Avatar
    Community Member
    36 Posts

    Re: Problems with translate to Portuguese Link to this post

    hi!!!

    i still have this problem, if anyone can help me i'd appreciate it so much.

    Thanks!

  • pjssms
    Avatar
    Community Member
    49 Posts

    Re: Problems with translate to Portuguese Link to this post

    I don´t know how to help you but i am interested on doing what you are doing.

    Ho are you creating the content in severall languages ? I would like to try it and then try to see if i can go over your problem.

    thank you,

    Paulo Santos

  • juandavidgc
    Avatar
    Community Member
    36 Posts

    Re: Problems with translate to Portuguese Link to this post

    Hi Paulo!

    I did resolve the problem. The thing is, that when you try to change the language to portuguesse, you need to put in the url (well, i change the language for url, but you can try it to change using session, or cookies), the language and the countre. For example i made a transaltion to portuguesse for portugal, so i put in the url "pt-PT". In english, spanish and frech i didn't need to especify the country, only the language, for examplo to change to spanish i put "es", to english i put "en", and for french i put "fr".

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