i find route is not correct,pls check #9

Closed
mincms1 opened this Issue Aug 19, 2011 · 1 comment

Projects

None yet

3 participants

@mincms1

app\extensions\route\Localized.php
here should be

$this->_config['template'] = '/{:locale:[a-zA-Z_]+}' . $this->_config['template'];

when locale is ```en_US``` it is contain ```"_"```
pls check or my fault
@mehlah

What @suenkang means is that there is a minor typo in http://lithify.me/docs/manual/globalization
We set en locale at the beginning, but we use en_US after ...

@davidpersson davidpersson added a commit that closed this issue Sep 4, 2011
@davidpersson davidpersson Fixing locale route regex to also match `en_US`. Fixes #9.
`en_US` is used as the example locale in explanations preceding the
example code.
2237490
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment