Last modified: 2013-01-27 11:29:21 UTC
With the new ULS, its probably rare, but there might be cases where I want to indicate specifically that my language is not in the list. For instance, in the UW if we were to use this language selector, then it is to describe the language of what the user is entering. There might be users (in theory) that want to write something in their language and that language is not one that is known to our system. In that case, selecting an alternative language (as you would do to select an interface) would not be appropriate. You'd want to specifically say: "My language is not listed here". I don't think this is possible with the current language selector, but if we want to use this system in more places than UI selection, then it would be needed.
How to ad a new language which is not part of default ULS language list <code> $.uls.data.addLanguage( newLanguageCode, { script: sciptCode, regions: arrayOfRegionCodes, autonym: newLanguageAutonym } ); </code>