1

Is there a Python library, or online resource I can use to programmatically obtain the alphabet of a particular locale?

For example, for the 'es_ES' locale I'd like to obtain 'ABCDEFGHIJKLMNÑOPQRSTUVWXYZabcdefghijklmnñopqrstuvwxyz' or similar.

Gonzalo
  • 4,145
  • 2
  • 29
  • 27
  • 1
    there is no standard list for each locales. – YOU May 07 '16 at 01:03
  • 1
    if you need to sort alphabetically according to a locale; you could [use PyICU](http://stackoverflow.com/a/16701346/4279). Here's [another example](http://stackoverflow.com/a/11124645/4279) – jfs May 10 '16 at 20:52

1 Answers1

0

Seems this is what I'm looking for: https://github.com/CrossWaterBridge/python-indexed-collation/, although I'm interested in knowing if there's a standard out there for Python.

Gonzalo
  • 4,145
  • 2
  • 29
  • 27