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.

General Questions

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

Using the "Existing translations"-link in the CMS.


Reply

156 Views

Avatar
Frottello

9 March 2014 at 5:50am (Last edited: 9 March 2014 5:54am), Community Member, 2 Posts

Hi,
I'm in search for solution for the following problem that I encounter.
On my site I have installed the Translatable-module and thats is working fine but I whenever I try to switch language with the "Existing translations"-link I get an error.

[User Error] Uncaught InvalidArgumentException: Invalid locale "nl_NL/?locale=en_US"
GET /admin/pages/edit/show/1?locale=nl_NL/?locale=en_US
Line 310 in /Users/fransverbeek/Sites/t918/translatable/code/model/Translatable.php

When I remove first of the "?locale=<locale>" in the URL it takes me to right page. I have done some searching already but didn't find a solution yet.

Anyone familiar whit this? And perhaps knows a solution?

Many thanks in advance.

Frans Verbeek.