Universal Language Selector/Compact Language Links/pt-br

As the editors of Wikimedia projects write more and more content in more and more languages, the lists of interlanguage links in the sidebar grow longer. Articles such as "Barack Obama" or "Sun" have more than 200 links, and that becomes a problem for users who need to switch among languages. It is not easy to find a specific language in those long lists. With compact language links the list that is shown initially is made shorter by showing a subset of languages the user is most likely interested in and the user may access the rest in a separate panel that allows searching for a language easily.

The Compact language links feature is part of Universal Language Selector (ULS) – the extension that provides language selection and access to various language related settings. ULS has been in use on all Wikimedia wikis since 2013. Compact language links was available as a separate beta-feature since 2014 when it was created in an OPW project.

How does it work


Compact language links can be enabled and disabled using a setting that is available under Preferences -> Appearance -> Languages. This setting is currently being made available for users across all Wikimedia wikis in several stages.

With compact language links a short list of the relevant languages for the user is displayed at first. This selection is based on your previous language selections, your browser settings, and your location. You can read more about this selection at this FAQ: How does Universal Language Selector determine which languages I may understand?.



At the bottom of the list there will be an indicator of the number of languages for which the page exists. Clicking it will show the rest of the languages. It can be searched by language name in any language, and it can handle spelling mistakes. Searching by language codes is supported, too.

Também serás capaz de ver os distintivos como "Artigo destacado" dentro deste quadro de idiomas.

I have been using Compact Language Links as a beta feature. What is the change I will see?
You should not see any major change in the interlanguage area. You will however see that Compact Language Links does no longer appear as a feature under the Beta features section. Instead, you will see a new preference setting under Preferences -> Appearance -> Languages, where the checkbox would be selected.

I tried Compact Language Links earlier and then turned off the beta feature. Now it is enabled again. How do I turn it off?


Please go to Preferences -> Appearance and scroll down to the Languages section. Here you can see a checkbox which says Use compact language links, with languages relevant for you. Deselect this checkbox and save the preferences. (See image)

How many languages are shown in the compact list?
Between 7 and 9 languages are generally shown in the initial compact list. The size of the list was based on two factors.


 * 1) Making enough room for the number of languages people may need. During our research on different language-related projects we have asked participants about the languages they speak and 9 was a limit very rarely exceeded. For example, for Content Translation, from 187 responses 85% of the users spoke 4 languages or less. This also seems consistent with research on multilingual editors.
 * 2) We wanted the list to be short enough to be processed quickly and easily. While a person's working memory can be different from human to human, the 7 ± 2 seems to be a common guideline that suggests we may be providing a short-enough list for people to process.

How do you decide which languages are relevant for me?
The main factor for choosing the languages are the previous language selections from the user. This means that you can select the languages you want by simply clicking on them. If you are interested in reading an article in Japanese, once you select it, a link to the Japanese language will be surfaced for easier access next time.

The first time, due to the lack of previous choices, the language selection is based on other factors: the languages of your web browser (also configurable by you) and geographic information (which is based on CLDR Territory-Language information to which anyone can contribute).

How can I change the language settings of my browser?
To change the language settings of your browser, follow these instructions:

Mozilla Firefox 46
(Three stripes icon) -> Options -> Content -> Languages -> Choose -> Select a language to add...

Google Chrome 50
(Three stripes icon) -> Settings -> Show advanced settings -> Languages -> Language and input settings -> Add

Microsoft Internet Explorer 10

 * Windows 7: (Gear icon) -> Internet options -> General -> Languages -> Add
 * Windows 8: (Gear icon) -> Internet options -> General -> Languages -> Set Language Preferences -> Add a language

Microsoft Internet Explorer 11
(Gear icon) -> Internet options -> General -> Languages -> Set Language Preferences -> Add a language

Microsoft Edge
This is not done from the browser itself, but in the operating system. Go to the computer's System settings, and then: Time & Language -> Region & language -> Add a language

Opera 38
Menu -> Settings -> Browser -> Languages -> Preferred languages -> Add language

How do you determine my location?
Your IP address is checked on the servers against a database which contains mappings from addresses to approximate locations. The results are stored in a cookie named GeoIP. ULS then reads this information and combines it with a list languages spoken in each country of the world, which is maintained by the CLDR project of the Unicode Consortium. The page Geolocation has some more information about this.

It is said that geolocation is used to determine the language selection. How important is this criteria?
Geolocation is not perfect, but that is not neither the only nor the primary information source. It is used in addition to more reliable sources: your previous selections and browser languages. In any case, our data relies on CLDR and it is expected to improve over time and we encourage users to ask for improvements on it.

With geolocation, are you not enforcing certain languages, which would be contrary to the mission of the Wikimedia Foundation?
Geolocation is only one of the mechanisms used to guess the user's language. In fact, if suggestions include the languages of a region this can bring more visibility to them than the old list.

Besides, emphasizing these languages makes smaller languages more prominent in relevant areas.

I use a VPN most of the times. The geolocation information is useless for me.
Geolocation is only one of the mechanisms used to guess the user's language. Your browser settings and previously selected languages will always be used.

Why do I see some of the languages listed in the interlanguage links as gray?


The language lists that you see in gray are being shown by Content Translation which is a beta feature that you have enabled. The languages in gray indicate that the article you are viewing is not present in those languages and can be translated via Content Translation by clicking on the gray links.

Where can I provide feedback?
You can use the project talk page. Bugs and feature requests will be tracked in Phabricator under the #ULS-CompactLinks project.

Some labels in the language selector are not translated to my language. Where can I translate them?
Please go to translatewiki.net, open an account, and complete the translation of the following two groups:


 * Universal Language Selector extension
 * jquery.uls

Known issues and feature requests
See full list on Phabricator.


 * Previous choices are not remembered cross-wiki. The previously selected languages are currently only remembered in the current wiki.
 * This beta feature is incompatible with the SidebarTranslate gadget. (Won't be fixed ULS-side.)