Universal Language Selector/Compact Language Links/ja

Wikimediaプロジェクトの編集者がコンテンツを書く言語がますます増えるにつれ、サイドバーの言語間リンクのリストが長くなります. 「バラク・オバマ」や「太陽」などの記事には200以上のリンクがあり、言語の切り替えをしようとする利用者にとっては問題です. あまりにも長いリストから特定の言語を探すのは容易ではありません. コンパクトな言語リンクでは特定の言語を探しやすくするため、利用者が最も関心のありそうな言語のサブセットに絞り込んで最初に表示してあり、その他の言語は別のパネルでアクセスできる仕組みです.

コンパクト言語リンク機能は、ユニバーサル言語選択機能（ULS） - 言語の選択とさまざまな言語関連設定へのアクセスを提供する拡張機能 - の一部です. コンパクト言語リンク機能自体は2013年にすべてのウィキメディア ウィキに導入され、OPWプロジェクトで作成された2014年以降、独立したベータ版機能として利用可能になりました.

動作の仕組み


コンパクト言語リンクは、[設定]→[外観]→[言語]の設定を使用して有効または無効にできます. また グローバル個人設定を使うと、ご利用のすべてのウィキで無効にできます. この設定は現在、すべてのウィキメディアのウィキ群の利用者に向け、いくつかの段階に分けて提供しています.

コンパクトな言語リンクを使用すると、最初に利用者に関連のある言語の短いリストが表示されます. 表示順は、以前の言語の選択とブラウザの設定、利用者の地理的位置および閲読中の記事のプロパティに基づいて選択されます. この選択の詳細は次のリンク先をご参照ください. コンパクトな言語リンクの初回表示では、何を基準に表示する言語を決めているのですか？



リストの一番下には、ページが存在する言語数のインジケータが表示されます. それをクリックするとコンパクトな表示以外の残りの言語が示されます. 何語でも言語名を検索でき、スペルミスに対応します. 言語コードによる検索もサポートされています.

また、この言語ダイアログには「特集記事」のようなバッジも見えます.

この機能の必要な理由
多くの記事では、言語間リンクの一覧は長すぎます. 項目がたった10件でも、多くの利用者にとって一覧から必要な言語を探すのは簡単ではなく、100件を超えるリストが付いた記事はたくさんあります. 多言語利用者でいくつかの言語を切り替えて利用することが多い場合、毎回、長い一覧から使いたい言語を探し出さなければなりません.

言語一覧について、グローバルもしくは個人設定のカスタム化を設けたプロジェクトがたくさんあります. たとえば特定の言語名を常に画面上部に表示するよう要求するウィキペディアは複数あり、あるいは特定の言語名を太字表示したり、利用者が選択して言語に優先順を付けるガジェットを用意するものもあります.

この種の機能をグローバルに使えるようにしようという考えは、2010年には登場していました.

自分にどの言語を表示させるか選ぶ方法
「他XX」ボタンを押してパネルを開き、必要な言語を選ぶだけです(XXは数字).

言語をクリックするたび、最初に表示される短縮された言語リストに自動的に追加されます.

ご利用のブラウザの個人設定で、言語を追加することもできます.

ベータ機能としてコンパクト言語リンクを使ってきました. 変更点はなんですか？
言語間リンクの領域には変更はないはずです. しかしながらベータ機能一覧には、コンパクト言語リンクは非表示になります. その代わり、[個人設定]→[表示]→[言語]と開くと設定条件が新しくなり、「」を選択できるようになります.

以前、コンパクト言語リンクを試したときはベータ機能を無効にしました. それなのに勝手に有効にされています. 無効にする用法は？


[個人設定]を開き[表示]タブを押して 画面を下へスクロールし、言語 欄を表示します. ここに 「」というチェックボックスがあります. チェックをはずし (訳注：白色にする) 、保存します (挿絵を参照).

短縮したリストに表示する言語の件数は？
通常、最初に表示するコンパクトな言語リストには7から9件の言語を表示します. リストの長さを決める要因は2つでした.

マジカルナンバー7+-2)という共通の設計ガイドラインに照らすと、私たちが提供しているリストは人々が処理できる短さであるかもしれません.
 * 1) 人々が必要としそうな言語数に十分な空間を取ります. さまざまな言語関連プロジェクトの調査中に参加者が話せる言語を質問したところ、9件超はほとんどありませんでした. たとえばコンテンツ翻訳機能の場合、187件の回答から利用者の85％が話せる言語は4件以内でした. この結果は多言語編集者の調査 (英語) とも一致しているようです.
 * 2) リストは速く簡単に処理できて、その記事が他の言語でも利用できると伝わる短さにする必要があります. 個人によって作業メモリには幅があり「7 ± 2」 (訳注：

言語の総覧を表示したほうが、希望の言語を探しやすいのでは？
私たちの調査によると、一律にならべた長い一覧よりも、コンパクトなリストから選ぶほうが言語を探す労力は少ないとわかっています.

もし必要な言語が最初に表示される短縮リストにないとしても、パネルを開いて検索窓を利用するほうが、すべての言語をただ並べただけの長いリストから探すより簡単です.

After the language is clicked once, it will always be shown with the highest priority in the initial short list. Most users access a small set of languages repeatedly, and the long list requires that they search for them every single time, so having the frequent languages appear automatically saves a lot of time.

Some users find it convenient to search for the language they need using the "Find in page" function that can be found in many browsers, but various estimates put the number of web users who are aware of this feature at about 10—20%. In addition, the "Find in page" feature can match similar words in the content, it is not able to correct for typos or consider alternative ways to refer to a language including ISO codes, different scripts, etc. All these capabilities are provided by the search box in the pop-up language selection panel.

最初に表示する短縮リストに表示する言語は、利用者ごとにどう選ぶ？
The main factor for choosing the languages are the selections of the user. This means that you can select the languages you want the most by simply clicking on them. If you are interested in reading the 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 by yourself, the language selection is based on other factors. Here's the complete and ordered list of the criteria according to which the languages for the initial compact list are selected:


 * 1) The languages on which the user clicked in the language selector panel previously.
 * 2) The languages of your web browser. This is configurable by you.
 * 3) The languages defined in your Babel box.
 * 4) Geographic information, which is based on the CLDR Territory-Language information. If the information for your country there is not precise, you can contribute to it.
 * 5) Languages that are used in the page's content with the   attribute. This attribute is added by various "lang" templates in Wikipedias in many languages, when mentioning the name of a foreign person or place—for example, in the English Wikipedia article Prague, the Czech name of the city ("Praha") is mentioned using the  template. Using any HTML element with the lang attribute would work as well (for example, Praha  ).
 * 6) 秀逸な記事.
 * 7) If the methods above didn't find 9 languages that would be relevant for the reader, some major world languages will be shown if articles in them are available: Chinese, English, French, Indonesian, etc.

利用者ページにバベルボックスを置いています. そこで言語を指定しているのに、最初に表示される短縮リストで表示されないのですが？
ログインしているか、また利用者ページで 表記を使っているか、ご確認ください. 説明文書はBabel extensionを参照します. バベルボックスを表示していても、使用するテンプレートが旧版のままのウィキは多く、またウィキごとにその実装が異なりコンパクト言語リンクでは使用できません. 表記を採用すると、どのウィキでもバベルボックスを共通の方法で追加でき、外観がそろいます.

If you have a Babel box using the  notation on your user page and you still don't see the languages that you specified in it in the initial compact language list, this may be a software bug. Please report it at the project talk page.

Technical notes:
 * The  variable must be set up for your wiki in the InitialiseSettings.php file. It is already set up for many Wikimedia wikis, but not for all of them.
 * It is possible to wrap the  notation in a template. This will work for Compact Language Links, too. This was done, for example, in the  template in Russian Wikipedia.

グローバル利用者ページにバベルボックスを置いて言語を表示させていますが、どのウィキでも参照できますか？
はい、たとえローカルな利用者ページがないウィキでも表示されます.

A local user page in a wiki will override your global Babel box.

この機能では世界の使用者が多い言語を優先し少数言語を区別しますか？
そんなことはまったくありません. その意図はなくこの機能の効果でもありません.

この機能は、すべての利用者に自動的に適応するよう、最善を尽くします. 最初に表示する短いリストは、利用者ごとの過去の選択とブラウザ設定、地理的位置から取得した言語を、最も優先して表示します. 世界の主要な言語の一部は、優先度を最も下げ、リストの末尾にフォールバック言語として限定的に表示されます.

In fact, thanks to respecting user preferences and using geolocation, it may make some smaller languages more prominent. Indeed, the clicks on links to all languages, especially the smaller ones, have grown since the feature was made available to anonymous users.

How about languages that are not tied to any territory, such as Esperanto? Won't this feature hurt the traffic to projects in these languages?
Links to all languages are available, but shown in the panel that appears when you click the "More" button, and our research shows that they are easier to find in this panel than in the long list. A user who clicks any language in the panel once, will see this language in the initial list after that.

We are watching the effect of this feature on the clicks on the links and on the traffic to all the projects. As of late 2017, over a year has already passed since the enabling of the feature on some major languages, such as Russian, Spanish and Chinese, and the number of clicks on the links, as well as the traffic to them have not gone down in any language.

Furthermore, in all the languages we have observed that the percent of people who entered the project in that language through interlanguage links from other languages has grown considerably, likely because the links are now easier to find. Here are the metrics from some languages. See also the full statistics for all the languages.

How can I change the language settings of my browser?
(Note that browser versions receive updates several times a year, and these instructions may go out of date. If you see that this is done differently in a browser version that is newer than what is indicated here, please feel free to edit this page and update the instructions. )

You can change the language settings of your browser. You might want to consider that this can help browser fingerprinting and can have a negative impact on your privacy. If you want to do so, follow these instructions:

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

Google Chrome 64
(Three dots icon) -> Settings -> Show advanced settings -> Languages -> Add languages

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 49
Menu -> Settings -> Browser -> Languages -> Preferred languages -> Add language

Why are languages grouped by continent?
When the list of languages is long, the list is divided into sections by continent to allow easier visual perception. Otherwise the list would be too long. The division by continent is quite arbitrary; it simply allows a relatively balanced grouping. Division by linguistic family, for example, would be much less balanced, given that some linguistic groups include only one language, while others include several dozens.

Why aren't the languages sorted alphabetically?
Names of languages are written in different scripts. Hence, they cannot be sorted alphabetically.

After the initial grouping by continent, languages are further grouped by writing system, and inside each writing system they are sorted alphabetically.

In any case, design research has shown that users most frequently find the language that they need by using the search box and not by scrolling through the whole list.

Why are names of languages written in the languages themselves and not in the language of the wiki?
Because the primary users of interlanguages are readers who don't necessarily know how the name of their language is written in the language of the wiki.

It is possible to search for the language that you need in your language, or in any other, using the search box at the top of the panel.

Why does the search box and full languages list appear in a separate panel?
We considered that it (a) allowed the user to focus on their languages of interest (the initially visible provides enough room to include the number of languages most of our uses speak), and (b) it allowed us to provide advanced searching capabilities to facilitate the selection. Searching was the most common method for users to find their language during our research, and providing flexible search made it easier to support the cases where the language you are looking for was not in the initial list. You can search for a language based on the name in another languages, making typos or using the ISO codes. This allows searching even if you don't know how is the language's name is written in that language and if cannot type in that language on your keyboard. For example, English speakers are often unable to type in Japanese, but they can search for the Japanese language by typing "japanese" and they don't have to type " 日本語 ".

Although the tool does not show initially all the interlanguage links, the access to them is provided through a "continuation" pattern where it is quite clear how to access to the rest of the languages. Our research confirmed that users were able to figure out how to find their language when it was not present in the initial list (something that they only need to do once at most). We are monitoring the volume of inter-language navigation to identify any potential issues.

What are the feature's success metrics?
The essential success metric is that the number of clicks on interlanguage links doesn't go down. Also, we hope to see that it becomes easier for readers to find languages that are relevant to them.

The developers have started recording the total number of clicks on interlanguage clicks to each language every day in May 2016, before the enabling of the feature to anonymous users started. We are seeing that they started to go up several weeks after the deployment. As of December 2016, the percent of clicks on interlanguage links out of the number of pageviews in each language is higher than it was in May 2016, in Wikipedia in all languages.

The average growth in clicks across all languages from June 2016 until June 2017 is 90%. The average growth in traffic that comes using interlanguages into all the languages in the same period is 85%.

You can find more information about this data at the page.

Is this related to adapting Wikimedia sites to mobile devices?
No. This is a redesign of the interlanguage links only on the desktop website.

The mobile website (MobileFrontend) has its own design for displaying and sorting interlanguage links.

It's possible that the mobile and the desktop design will be brought closer to each other in the future, but there is no concrete plan for this at the moment.

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. 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 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 the areas where they are spoken.

How can I make the data about the languages spoken in my country more precise?
We suggest all people to check the entries for their language in the CLDR Language-Territory database and to update it if needed. All languages, including constructed languages like Esperanto, can be added to it if there is data about the number of speakers in a given country.

I use a VPN most of the time. 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.

Doesn't automatic personalization of the languages list make Wikimedia sites similar to commercial websites?
Wikimedia sites, like some other massively multilingual commercial sites, have to deal with the scalability in the number of languages it supports. Unlike it is with commercial websites, Wikimedia's purpose is not to optimize the profit by market, but to make it possible for every human being to share in the sum of all knowledge, and this includes access to all languages.

Compact Language Links are designed to make access to all languages not only possible, but easier. Unlike it is done on some commercial websites, no language is ever made inaccessible. Besides, the method for selecting the languages to show in the list is fully and openly documented right here on this page.

Why do the compact language links seem to work differently on the main page of my wiki?
Most likely this happens because the display of the interlanguage links on the main page of your wiki is customized using the  magic word. This was done in some Wikimedia wikis because there's a main page in all languages so the longest possible list of languages is shown, while the content of the main page itself is usually quite short.

With compact language links this customization shouldn't be needed on the main page, because the list is already compact and the languages are chosen automatically for each user, so the editors community in your wiki should consider removing it.

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 or report issues in Phabricator using 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

既知の問題と機能の要望
See full list on Phabricator.

関連項目

 * Interlanguage links/Implementation comparison　さまざまな言語間リンクの実装方法 (英語)
 * Wikimedia Research/Design Research/Contributors Team UX Research/2018.02-03 Compact Language Links Testing (英語) コンパクト言語リンクの試験
 * New Wikipedia feature gives you the power to choose whatever language you want - ブログ投稿 (英語)「ウィキペディアの新機能で必要な言語を選択可能」