Page MenuHomePhabricator

Use an external package for transliteration
Closed, DeclinedPublic

Description

Pywikibot allows transliteration of text before writing to files/ttys.

pywikibot/userinterfaces/transliteration.py - 108K

There are existing packages which try to achieve similar goals, such as
https://pypi.python.org/pypi/translit
https://pypi.python.org/pypi/Unidecode

If any of the above are *functional* sufficient for pywikibot needs, we should use it. If there are minor gaps in support for languages, where pywikibot has better transliteration tables, we can push our improvements into the external package.

Otherwise, we start a new project with the pywikibot code so others can reuse and help develop/maintain the code.


Version: core-(2.0)
Severity: normal
See Also:
T58524

Details

Reference
bz73410

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:57 AM
bzimport set Reference to bz73410.
bzimport added a subscriber: Unknown Object (????).

https://github.com/barseghyanartur/transliterate looks quite nice, and supports latin (that isnt mentioned in the readme).

I am against this proposal. Transliteration is a central point of our framework it is havy to use if a lot of packages are needed before it can work and external packages are out of our scope and couldn't be maintained when or if needed.

Xqt changed the task status from Open to Stalled.May 29 2017, 1:59 AM
Xqt raised the priority of this task from High to Needs Triage.
Dalba triaged this task as Low priority.Feb 4 2018, 9:46 PM

rarely used since we use unicode for command line too.