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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

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


Go to End


504 Views

Avatar
Frottello

Community Member, 2 Posts

9 March 2014 at 5:50am

Edited: 09/03/2014 5:54am

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.