2015-06-08

Created page with "Kehitystiimi"

New page

<languages />

{{TNT|Wikimedia engineering project information

| name = Universal Language Selector

| description = Universal Language Selector

| start = 2012-03-01

| end =

| group = {{ll|Wikimedia Language engineering|Internationalization and Localization}}

| EPM = [[User:Alolitas| Alolita Sharma]] (Director of Engineering), [[User:Siebrand| Siebrand Mazeland]] (Product Manager)

| team = Kehitystiimi - [[User:Amire80|Amir Aharoni]], [[User:Nikerabbit|Niklas Laxstrom]], [[User:Pginer|Pau Giner]], [[User: Santhosh.thottingal| Santhosh Thottingal ]] & [[User:Runab|Runa Bhattacharjee]]

| previous =

| next =

| projectpage = Milkshake

| Phabricator = MediaWiki-extensions-UniversalLanguageSelector

| display = {{{display|}}}

}}

The [[Extension:UniversalLanguageSelector|Universal Language Selector extension]] (ULS) provides a flexible way to configure and deliver language settings like interface language, fonts, and input methods (keyboard mappings). This will allow users to type text in different languages not directly supported by their keyboard, read content in a script for which fonts are not available locally, or customize the language in which menus are displayed.

This functionality was partially provided by [[Extension:Narayam|Narayam]] and [[Extension:WebFonts|WebFonts]] Extensions [[Universal Language Selector/Deployment/Planning#List of affected wikis .2884.29|on some wikis]]. The ULS replaces those extensions and will be available in all Wikimedia projects for all users (logged-in and anonymous). More project specific details later.

The functionality provided is listed below:

*'''Language settings panel.''' Main entry point to configure language tools. It can be accessed from the inter-language list on the sidebar, or at the personal toolbar for wikis lacking inter-language links.

**'''User interface language adjustments.''' User can change the language in which the UI is provided regardless of the content language. At the moment, UI customization is only provided for logged-in users.

**'''Font selection.''' Web fonts are provided for non-latin scripts so that users can display content in those languages without installing local fonts. Users can select alternative fonts or decide to use their local fonts if they are available.

**'''Input method configuration.''' Users lacking a keyboard for a particular script can still write in that script by using input mappings. Hindi users with a QWERTY keyboard can write “प” by typing “pa” when Hindi input method is enabled.

*'''Input method contextual menu.''' Options for switching between languages and keyboard mappings are provided next to each active input element. Users can easily combine English, International Phonetic Alphabet and Russian when writing about [[:en:Moscow|Moscow]] on English Wikipedia: “Moscow (/ˈmɒskaʊ/ or /ˈmɒskoʊ/; Russian: Москва, tr. Moskva; IPA: [mɐˈskva]) is the capital city and the most populous federal subject of Russia.”<noinclude>

[[File:ULS-Display-Settings.png|thumb|{{dir|{{pagelang}}|left|right}}|400px|Language settings allow a registered user accessing English Wikipedia to change the UI to his native language.]]

[[File:ULS-Font-Settings-new.png|thumb|{{dir|{{pagelang}}|left|right}}|400px|A Bengali user is able to read content from the Bengali Wikipedia despite the lack of fonts in his computer. Web fonts are provided automatically for non-latin scripts for which an open source font is available. The user can decide to use their system fonts on a per language basis.]]

[[File:ULS-Input-Settings.png|thumb|{{dir|{{pagelang}}|left|right}}|400px|A Hindi speaker without a Hindi keyboard configures input methods so that he can type in his language.]]

[[File:ULS-Input-Search.png|thumb|220px|{{dir|{{pagelang}}|left|right}}|When searching a user can switch between English and Hindi.]]

== When and where will ULS be available ==

From June 11, 2013 on, ULS has been [[UniversalLanguageSelector/Deployment/Planning|made available to all Wikimedia wikis]]:

*'''Wiki projects with multiple language versions''' will integrate language settings in the existing language related area used for interlanguage links. This includes all language versions of:

**Wikipedia

**Wikibooks

**Wikiversity

**Wiktionary

**Wikiquote

**Wikivoyage

**Wikinews

**Wikisource

*'''Wiki projects without interlanguage links''' will integrate language settings in the personal toolbar next to their user name. This includes the following wikis:

**Wikidata

**Wikimedia Commons

** Wikispecies

**MediaWiki.org

**Meta-Wiki

**Wikimedia Incubator

[[File:ULS-top-right.png|thumb|{{dir|{{pagelang}}|left|right}}|400px|On wikis without inter-language links, the language settings are provided at the personal toolbar.]]

=== Limitations in functionality ===

The selection of user interface language will be only available for logged-in users ([[Universal Language Selector/FAQ#Why can anonymous users not use Universal Language Selector to change their interface language|why?]]).

[[File:ULS-Display-Setting-Annonymous.png|thumb|{{dir|{{pagelang}}|left|right}}|400px|Anonymous users cannot change UI language yet. They can do so by logging in.]]

For English Wikipedia, the input method contextual menu will be disabled by default. Regardless of the initial state of input methods, users can always enable or disable them for any wiki.

== ULS for editors ==

You can format fraktur text (script code <code>Latf</code>), for example, just by specifying font-family in an inline [[w:Style sheet (web development)|style sheet]]:

<syntaxhighlight lang="html5" style="overflow:auto;">

* <span lang=de-Latf style="font-family:UnifrakturMaguntia, serif; ">Fraktur Schrift</span>

</syntaxhighlight>

The font will automatically be used:

* <span lang=de-Latf style="font-family:UnifrakturMaguntia, serif; ">Fraktur Schrift</span>

NB: the required font name may be different from the font's file name. For example:<br /><code>font-family: 'Taamey Frank CLM', serif;</code> is required to use the font TaameyFrankCLM.

'''Q''': ''does this work in MediaWiki style sheets?''

== More information ==

[[File:Marathi Wikipedia ULS.webm|thumb|{{dir|{{pagelang}}|right|left}}|300px|One can use [[:MW:Universal Language Selector|ULS]] "अक्षरांतरण" ([[Transliteration]]) or "मराठी लिपी" ([[InScript_keyboard|Inscript]]) typing options to search or edit [[:mr:|Marathi Wikipedia]] articles as shown in this video clip example; One can click on the '''cc'' to change the subtitle languages to Marathi, English, Sanskrit, Kokani, Ahirani languages.In simmiller way other languages can be selected.]]

Answers to some common queries about the Universal Language Selector can be found in the [[Special:MyLanguage/Universal Language Selector/FAQ|FAQ page]].

[[Talk:Universal Language Selector|You can leave feedback at the talk page]].

You can also see [[Special:MyLanguage/Universal Language Selector/Design|Interaction Design]] and [[Special:MyLanguage/Universal Language Selector/Technical Design|Technical Design]] of this project.

Most development is part of the general libraries for the [[Special:MyLanguage/Milkshake|Milkshake]] project (see for GitHub repository information and so on).

See also [[Special:MyLanguage/Universal Language Selector/Upcoming development plan|Upcoming development plan]].

[[Category:User experience{{Langcat|Universal Language Selector}}|Universal Language Selector]]

[[Category:Localisation{{Langcat|Universal Language Selector}}]]

[[Category:Language Engineering{{Langcat|Universal Language Selector}}|Universal Language Selector]]

[[Category:New Editor Engagement{{Langcat|Universal Language Selector}}|Universal Language Selector]]

[[Category:Universal Language Selector{{Langcat|Universal Language Selector}}| ]]

Show more