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

Requirements by locale #86

Open
hmonglee opened this issue Jul 4, 2016 · 5 comments
Open

Requirements by locale #86

hmonglee opened this issue Jul 4, 2016 · 5 comments
Labels

Comments

@hmonglee
Copy link

hmonglee commented Jul 4, 2016

Hello,

Sometimes I need to have requirements by locale.

What do you think of build this feature ?

Thank you

@boekkooi
Copy link
Collaborator

boekkooi commented Jul 4, 2016

Hi @hmonglee,

It sounds interesting but I'm not exactly use what you mean. Could you maybe add a example of what you are thinking?

Thanks!

@hmonglee
Copy link
Author

hmonglee commented Jul 5, 2016

For exemple, if I have a route "holiday" :

  • fr => /vacances/{season}, requirements will be "season: hiver|ete"
  • en => /holiday/{season}, requirements will be "season: winter|summer"

I think the route "holiday" can have general configuration, and each language can have his own configuration.

@boekkooi
Copy link
Collaborator

boekkooi commented Jul 5, 2016

Sounds interesting. Are you willing to make a PR for this @hmonglee? If not I'm willing to take a look at this once I have some time.

@shakaran
Copy link

@boekkooi there are some update about this issue or implementation about it? I am interested in the feature too

@tobias-nitsche
Copy link

+1 for this feature

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

No branches or pull requests

4 participants