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

Could we add some kind of Slug translation? #350

Open
ghost opened this issue Sep 18, 2018 · 0 comments
Open

Could we add some kind of Slug translation? #350

ghost opened this issue Sep 18, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 18, 2018

I'd like to use this library but besides just selecting a State with the VA / Virginia I'd like to have a slug version for using in URLs so just "va". I'm trying to figure out how to best do this maybe lowering "VA" to "va". I see there is some data structures for the normalization but I was a little confused. As far as what I would envision for the normalization of the USStateField it would be what I said above just the lower case version of the 2 letter abbreviation. Not what I saw like "virginia" for VA and say "nj" for New Jersey.

Thanks for any comments and your thoughtful understanding. If you have a suggestion for how to just best do it with your library myself I'm open to ideas.

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

0 participants