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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


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