Template:R from alternative language/doc

Purpose
This template exists to help track useful redirects from foreign-language terms and redirects to other languages from English words and phrases. It is not a license to create redirects for arbitrary terms in any language – generally, foreign-language redirects are considered appropriate only when there is a strong connection between the language and the topic. For example, Vienna makes sense, because German is the official language of Austria; however, these three redirects:,  and , would be deleted if they existed, because there is no real connection between the city of Vienna and Chinese, Western Panjabi, or Macedonian, respectively. See Redirects from foreign languages for details.

Usage

 * This redirect category (rcat) template should only be used with its first and second language parameters as described below. If applied without language parameters, the redirect will populate both  and .  Entries in those categories should be placed into more specific language categories when the "from" and "to" languages are known by using ISO 639 codes, such as "en" for English and "la" for Latin (see code list).  If help is needed to determine the language of the redirect or target, then editors who monitor the undetermined-language categories will help determine the language and code needed to move the redirect to the more specific category(ies).
 * Add this rcat to a redirect in the following manner:
 * 1) REDIRECT (target page name)


 * The Redirect category shell (shortcut Rcat shell) may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page.  This rcat may also tag a redirect individually:


 * 1) REDIRECT (target page name)


 * This and the following are in accord with instructions found at REDCAT.


 * Use this rcat on all redirects from a page title:
 * in English to a title in another language. These are almost always printworthy.
 * Example: 
 * in a non-English language to a title in English. These may be  – usually.
 * Example: and  (the latter is printworthy)
 * in a non-English language to a title in another non-English language. These may be printworthy or unprintworthy.
 * Example:  (printworthy)
 * in a non-English language to a title in the same alternative (to English) language. These are almost always unprintworthy.
 * Example:
 * in an undetermined language (code "und") to a known language.
 * in a known language to an undetermined language.
 * in an undetermined language to an undetermined language.
 * The first unnamed parameter, 1 (a.k.a. the named parameter, from), is used for the ISO 639 code of the source (the redirect title's) language. If the language code is recognized, the redirect populates a more specific category, e.g.  (provided the language category exists).
 * Example: the redirect page titled  :
 * The first unnamed parameter, 1 (a.k.a. the named parameter, from), is used for the ISO 639 code of the source (the redirect title's) language. If the language code is recognized, the redirect populates a more specific category, e.g.  (provided the language category exists).
 * Example: the redirect page titled  :
 * Example: the redirect page titled  :


 * 1) REDIRECT Switzerland

or:

or:


 * The above three examples all work exactly the same way and will sort redirects to.
 * If the language code in the first parameter is not recognized, or is recognized but has no specific category created as yet, then the redirect will populate.
 * The second unnamed parameter, 2 (a.k.a. the named parameter, to), will sort the ISO 639 code of the target title's language. If the language code is recognized, the redirect goes into a more specific category, e.g. (again, provided the category exists).
 * Example: the redirect page titled  :


 * 1) REDIRECT Les Misérables

or:

or:


 * The above three examples all work exactly the same way and will sort redirects to.
 * If the language code in the second parameter is not recognized, or is recognized but has no specific category created as yet, then the redirect will populate.
 * When these parameters are combined, the redirect will go into two categories, "from" and "to" language terms.
 * Example: the redirect page titled  :


 * 1) REDIRECT Mi'kmaq

or:

or:


 * All three of the above examples sort the redirect to and.


 * Undetermined language code
 * If the language code in the first or second parameter is not known, then the "und" language code (for "undetermined") may be used. Then the redirect will populate either  or  or both if "und" is used in both the first and second parameters.

or:

or:


 * Editors who monitor those categories will help apply the correct language codes that will make the redirect populate a more specific language category(ies).


 * One or both of the undetermined-language categories ("from" and "to") will be automatically populated if either or both of the parameters are left empty.

Other usage notes

 * About other-language book titles: In the case of the redirect title "The Miserable Ones", that title is just a language translation and is not tagged with the R from a book rcat – the reason is that both the French version and the English translation of the work is titled with the French title, Les Misérables.  In the case of the redirect title "Annales des empereurs du japon", that is actually the book title of a French translation of the Japanese work, and is therefore tagged with the R from a book rcat.  Like several rcats, the R from a book template automatically formats the redirect title in italics.
 * When the redirect and its target differ only in use of diacritical marks, then use R from diacritics or R to diacritics instead.


 * "en" printworthiness
 * When the redirect is in article mainspace, and the "from" language code is "en" (for English), then the printworthiness should also be tagged as follows:


 * 1) REDIRECT (target article title)


 * This will be the case for the vast majority of "from English" redirects; however, there are rare instances for which this is not the case, for example:


 * 1) REDIRECT (targeted disambiguation page)


 * This type of redirect should never be printworthy, even if it is in English and targets a page title in another language, so the no parameter is used to tag such a redirect as "unprintworthy".


 * Multiple usage
 * If the redirect (from) or the target (to) title is found in more than one language, then this rcat may be used more than once. For an example, please see, which is a redirect found in both the Czech and Slovak languages.  There is no restriction on how many times this rcat may be used on a redirect.

Aliases

 * [ Also known as...] – list of templates that redirect here and may also be used

Printworthiness

 * In main-article namespace, only the redirects from English-language terms are sorted to the category by default (unless the page is an unprintworthy disambiguation redirect as shown above).  All other alternative-language redirects must be manually sorted as either printworthy or unprintworthy.  Many redirects from languages other than the target titles are considered unprintworthy; however, there are many others that are printworthy, so except as noted above there is no default sort for printworthiness.  In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of  Wikipedia articles in .  Some rcats automatically populate either  or  by default.  Others, like this rcat, usually do not, and that means it is very often up to editors to choose which of those categories, Printworthy or Unprintworthy, is appropriate and should be populated.  The rcats that are used separately to populate those categories are:
 * and
 * Please click on each one for more details and guidance.
 * Please click on each one for more details and guidance.


 * Template Redirect category shell will accept these rcats just like any other.
 * Examples:


 * Either Redirect category shell or its alias/shortcut, Rcat shell, may be used.

Language codes
The following links are to pages that show the two-, three- or four-letter language codes that this rcat has used and uses now to sort redirects to specific-language categories. For complete lists of language codes, see the navbar below.


 * Listings in ALPHABETICAL order by...
 * LANGUAGE
 * Language CODE

Language codes are also usually found in the infoboxes at the top of language articles in Wikipedia.