Anahkiasen / polyglot

Laravel localization and translation helper
130 stars 22 forks source link

Fix bug where the default locale wasn't working #41

Open santosdiez opened 10 years ago

santosdiez commented 10 years ago

I have a really simple setup, with two locales: es, en, being es the default one. I can access urls such as example.com/blog (default locale) or example.com/en/blog (English), but when I try example.com/es/blog I get a 404.

I've been able to solve that by adding some extra checks. I was just hoping for you to review it and tell me what you think! Maybe I've misunderstood something about the configuration!

Anahkiasen commented 9 years ago

Can you add a quick test for this?