Universell språkväljare
Universell språkväljare
Universell språkväljare
|
Tillägget Universell språkväljare (ULS, Universal Language Selsector) erbjuder ett flexibelt sätt att konfigurera och leverera språkinställningar som gränssnittsspråk, typsnitt och inmatningsmetoder (tangentbordsuppsättningar). Detta möjliggör för användare att skriva text på olika språk som inte direkt stöds av deras tangentbord, läsa innehåll på skriftspråk vars typsnitt inte är tillgängligt lokalt eller anpassa språket som menyer visas på.
Funktionaliteten tillhandahölls delvis av tilläggen Narayam och WebFonts på vissa wikier. ULS ersätter dessa tillägg och kommer finnas tillgänglig på alla Wikimedias projekt för alla användare (inloggade och anonyma). Specifika detaljer om fler wikier kommer senare.
De tillhandahållna funktionerna listas här nedanför:
- Language settings panel. Main entry point to configure language tools. It can be accessed from the interlanguage list on the sidebar, or at the personal toolbar for wikis lacking interlanguage links.
- User interface (UI) language adjustments. Users can change the language in which the UI is provided regardless of the content language. At the moment, UI customisation is provided only 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 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.”
När och var kommer ULS finnas tillgängligt
- 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 username. This includes the following wikis:
- Wikidata
- Wikimedia Commons
- Wikispecies
- MediaWiki.org
- Meta-Wiki
- Wikimedia Incubator
- Governance
- Outreach
- and others
Begränsningar i funktionaliteten
Wikimedia projects will be leaving $wgULSAnonCanChangeLanguage
disabled, so the selection of user interface language will be only available for logged-in users (why? ).
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.
Web fonts
You can enable web fonts by opening the ULS interface. Click on the gear icon, then select "Display", then select "Fonts", then enable "Download fonts when needed". See Universal Language Selector/WebFonts for more information.
Mer information
Answers to some common queries about the Universal Language Selector can be found in the FAQ page. You can leave feedback at the talk page.
You can also see Interaction Design and Technical Design of this project.
Most development is part of the general libraries for the Milkshake project (see for GitHub repository information and so on).