Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing Languages with - or _ in URI. #1

Closed
skny5 opened this issue Feb 10, 2013 · 1 comment
Closed

Accessing Languages with - or _ in URI. #1

skny5 opened this issue Feb 10, 2013 · 1 comment

Comments

@skny5
Copy link

skny5 commented Feb 10, 2013

Hey Mike,

I was using your extension on a project and noticed that languages with a "-" or "_" in them brings up a 404 error: "Unable to resolve the request -ca", this was attempting to use en-ca or en_ca.

I've added the supported languages to the config array/
'languages' => array('en_us','en','de','fr','en_ca','en_gb'),

Is there a preferred format to enter the supported languages? Thanks for your help.

Best,
Sean

@mikehaertl
Copy link
Owner

Hi,

you only have to change the order so that en_gb is listed before en in your languages array. Also see the note in the Installation section in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants