لغة اليوزر
User language boxes list the languages an editor is comfortable communicating in, and their proficiency. This improves communication across the diverse community, both directly and by helping find interpreters and translators.
الاستخدام
معلومات Babel بتاعة اليوزرات | ||
---|---|---|
| ||
اليوزرات حسب اللغة |
You can add user information to your user page by inserting code like this:
{{#babel:ru-N|en-5|fr-1}}
This outputs the boxes you see at right. You can add as many languages as you want, in the form language code-proficiency level.
- Language code
- The extension recognizes standard ISO 639 (1–3) language codes. You can find your language by searching the list of ISO 639-1 codes.
- Proficiency
- The proficiency describes how well you can communicate in the language. It's indicated by a single character from the Proficiency column in the table below:
Proficiency Meaning 0 You don't understand the language at all (or can understand it with considerable difficulty). 1 You can understand written material or simple questions. 2 You can edit simple texts or participate in basic discussions. 3 You can write in this language with some minor errors. 4 You can speak like a native speaker (though it's not your birth language). 5 You have professional proficiency; you understand the nuances of the language well enough to translate advanced documents. N You are a native speaker of the language and have a thorough grasp of it, including colloquialisms and idioms.
To remove the header and footer, use plain=1
as the first parameter, e.g. {{#babel:plain=1|sv-N|zh-3|de-1}}
. This makes it easier to use with other userboxes.
For example, you can present them horizontally (each box taking a fixed width of 242px, including its tiny 1px margin) within another container box like:
<div class="mw-babel-box-horizontal"><templatestyles src="Template:User language/babel-box-custom.css"/> {{#babel:plain=1|ru-N|en-GB-5|de-4|nl-3|fr-3|it-2|oc-2|ca-2|es-2|pt-1|tr-0|vi-0|el-0|hy-0|ka-0|bn-0|hi-0|ml-0|ta-0|my-0|th-0|ur-0|ar-0|he-0|ko-0|ja-0|zh-Hans-0|zh-Hant-0}} <div style="clear:both"></div> </div>
which gives:
en-GB-5 | This user has professional knowledge of British English. |
---|
de-4 | Dieser Benutzer beherrscht Deutsch auf muttersprachlichem Niveau. |
---|
nl-3 | Deze gebruiker heeft gevorderde kennis van het Nederlands. |
---|
it-2 | Quest'utente può contribuire con un livello intermedio in italiano. |
---|
oc-2 | Aqueste utilizaire dispausa d'un nivèl intermediari de coneissença en occitan. |
---|
es-2 | Esta persona tiene un conocimiento intermedio del español. |
---|
vi-0 | Thành viên này hoàn toàn không biết tiếng Việt (hoặc rất khó khăn để hiểu). |
---|
hy-0 | Այս մասնակիցը չունի հայերենի իմացություն (կամ հասկանում է շատ դժվարությամբ)։ |
---|
ka-0 | ამ მომხმარებელს არ ესმის ქართული ენა. |
---|
bn-0 | এ ব্যবহারকারীর বাংলা ভাষার উপরে কোনো ধারণা নাই (অথবা তা খুব কষ্টে বুঝতে পারেন)। |
---|
ml-0 | ഈ ഉപയോക്താവിനു മലയാളഭാഷയിൽ ഒട്ടും അറിവ് ഇല്ല (അല്ലെങ്കിൽ മലയാളം വളരെ ബുദ്ധിമുട്ടിയാണു മനസ്സിലാക്കുന്നത്). |
---|
ta-0 | இந்தப் பயனர் தமிழில் பயிற்சி இல்லாதவர் (அல்லது கடினப்பாடுகளுடன் விளங்கிக் கொள்ளகிறார்). |
---|
my-0 | ဤ အသုံးပြုသူသည် မြန်မာဘာသာတွင် ဗဟုသုတအဆင့် မရှိသလောက် ရှိသည် (သို့ အခက်အခဲတစ်စုံတရာရှိသော်လည်း နားလည်နိုင်သည်)။ |
---|
th-0 | ผู้ใช้คนนี้ไม่มีความรู้เกี่ยวกับภาษาไทย (หรือเข้าใจได้ด้วยความยากลำบาก) |
---|
zh-Hant-0 | 這位使用者不瞭解(或在一定程度上難以理解)繁體中文。 |
---|
But this requires inserting a custom CSS stylesheet to override the default clear:right
(on pages with the LTR direction for the content language) and clear:left
(on pages with a RTL direction for the content language) into clear:none
. The stylesheet may also resize fonts, and the line-height for specific scripts used in the description, to improve the horizontal alignment of boxes and get a more flexible layout.
See also
- Extension:Babel (the underlying software extension)