strtr() is sufficient.** Current LC is based on it.
2011/6/10 Amir E. Aharoni amir.aharoni@mail.huji.ac.il
There's a problem which is familiar to people who use non-Latin alphabets in computers is that they sometimes forget to switch the keyboard layout and type a whole word or even a sentence of gibberish until they notice it. For example, people who use a Cyrillic keyboard may search Google for "цшлшзувшф", when they actually meant to search for "wikipedia", and vice versa - "dbrbgtlbz" when they meant "википедия" (that's "wikipedia" in Russian). The Google search engine is aware of it for a few years now and often automatically searches for the desired term in a DWIM manner.
Wikipedia's own search engine is not aware of it yet. A user in the Hebrew Wikipedia had this idea: Maybe LanguageConverter can be used for it? Common keyboard layouts can be mapped to each other, like the two Serbian alphabet are mapped to each other today, and Special:Search is already aware of LanguageConverter.
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com "We're living in pieces, I want to live in peace." - T. Moore
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l