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

Support multiple transliterations at once #102

Open
simison opened this issue Jun 30, 2017 · 3 comments
Open

Support multiple transliterations at once #102

simison opened this issue Jun 30, 2017 · 3 comments

Comments

@simison
Copy link
Contributor

simison commented Jun 30, 2017

Perhaps options.lang could accept an array or even just * to run all the language transliterations in alphabetic order?

I just stumbled upon this library: https://github.com/andyhu/transliteration — and I quite like how it always just works, not depending if people fill in English, Finnish or Chinese.

@pid
Copy link
Owner

pid commented Jun 30, 2017

@simison The array solution is interesting. Alphabetical order is problematical if we add new languages, IMHO.

@simison
Copy link
Contributor Author

simison commented Jun 30, 2017

Valid point, I guess "all" option would need to be predictable set of symbols just like here: https://github.com/andyhu/transliteration/blob/master/data/charmap.json

@simison
Copy link
Contributor Author

simison commented Jun 30, 2017

So for the background: I'm building multilingual project and I would like the library to just make best guesses with special symbols — it's just slugs after all so it doesn't need to get it "correct" all the time.

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

No branches or pull requests

2 participants