Commit Graph

5 Commits

Author SHA1 Message Date
Santhosh Thottingal
666bec2633 Smart search for the languages
A search match happens if any of the following passes:
a) Language name in current user interface language
   'starts with' or 'contains' search string.
b) Language autonym 'starts with' or 'contains' search string.
c) ISO 639 code match with search string.
d) ISO 15924 code for the script match the search string.

Change-Id: I7690f06423c931fade3bee1da3a445b4b586e13c
2012-06-30 17:53:21 +05:30
Santhosh Thottingal
a759f0ecbe Introduce regionfilter
RegionFilter is a basic jquery plugin to work with ULS
to select languages based on regions.

PS2: Added a css class for elements with regionfilter.
Used it for visual indication of selection. Plus some
clean up.

Change-Id: Ib01b4077435f98665075310e285e68f8538eeb4e
2012-06-26 16:53:15 +05:30
Niklas Laxström
16d2b1c33d Proof of concept language database database
Change-Id: I5d6b9ff4ce46c8e2d48bf56ab08f093287672467
2012-06-22 17:34:43 +05:30
Niklas Laxström
db360d7b9d Don't highlight empty strings (between each letter)
Change-Id: I6608c8954f415eeaa8a40da4a1c0e22638a9f860
2012-06-22 09:56:28 +00:00
Santhosh Thottingal
9087825e6d Basic language selector
* uses setlang attribute in URL to switch language
* introduced a language filter widget by extending
  jquery.ui.autocomplete
* UI rendering is done by using SkinAfterContent hook

Change-Id: Ifa63a04ba1d060b6db8fba14bb868045cf6b97c3
2012-06-21 20:08:47 +05:30