Last modified: 2013-01-09 14:41:52 UTC
When an article has text in multiple languages, the WebFonts extension will use the default font for a specific language and script. In the same manner Narayam should be enabled/available based on the language a specific block of text is in. Thanks, GerardM
If I understand, I think you're suggesting having the system detect that a text input field already contains some text in scripts that we have input methods for, and automatically ensure that that/those languages are presented as options on the input method menu, even if they would otherwise not have been shown by default. For many of the scripts Narayam serves this should be pretty straightforward -- each setting could register a regular expression to detect characters in that script (for Latin-based languages, presence of particular accented or special characters will likely often do it). The regexes could be run on available input areas at startup / at focus and, if needed, the additional modules could be loaded and enabled. Actually *enabling and switching in* the IME might also be possible for many cases but might or might not be consistent/desirable.
obsolete since Narayam is going to be replaced by jquery.ime. Selecting languages is more easy in jquery.ime even though dynamic language detection iis not planned as a feature for jquery.ime at this point of time.