Open gaurav opened 9 years ago
Titlecase is splitting words correctly (i.e. "Espada", "sureña"), but then gets confused when trying to capitalize the text, but I'm not sure why. I suspect it has something to do with the [a-zA-Z] all over the place, but Python doesn't support this in built-in.
I'm still trying to figure out if there's a fix we can submit to titlecase that'll sort this out for everyone, but our other options are:
regex
.regex
.This doesn't affect all characters: http://localhost:9001/taxonomy/names/search?lookup=Centropomus%20nigrescens&search=Centropomus%20nigrescens&open_lang=fr -- I'm going to file it as a bug on titlecase and see what happens.
For example, "Espada SureñA" -> http://nomdb.map-of-life.appspot.com/taxonomy/names/search?search=Xiphophorus+maculatus&dataset=#lang-es