NovaRoma:Language Policies

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(added text about LB use in non-default namespaces)
(Article Titles and Redirects: Italian example)
Line 39: Line 39:
  
 
The reason for these extra redirects is to enable automatic linking between the equivalent pages - as described in the next section.
 
The reason for these extra redirects is to enable automatic linking between the equivalent pages - as described in the next section.
 +
 +
Another example:
 +
 +
* [[Choosing a Roman name]] has an inter-language link to...
 +
* [[IT:Choosing a Roman name]] which redirects to...
 +
* [[IT:Scegliere un nome romano]] which has an inter-language link back to...
 +
* [[Choosing a Roman name]] (English).
  
 
==Inter-Language Links==
 
==Inter-Language Links==

Revision as of 14:13, 10 April 2006

SPQR-BLACK.JPG
IN·MEMORIAM·A·TVLLIAE·SCHOLASTICAE·AVGVSTAE·PRINCIPIS·SENATVS·CENSORIS·IIII·CONSVLIS·II·PRAETRICIS


 Home| Latíné | Deutsch | Español | Français | Italiano | Magyar | Português | Română | Русский | English

Contents

Namespaces

The Nova Roma Wiki will contain articles in several languages.

We organize this by placing each language in a Namespace.

In a Wiki, a Namespace is a prefix that appears at the beginning of the article title, followed by a colon. There is a default namespace as well, which contains articles that have no prefix.

This article is in the "NovaRoma:" namespace, which is used for pages that are about the site itself (rather than a part of the site); such are generally called "meta-information". There's also a "Special:" namespace, used for pages like login/logout, Recent Changes, etc.

For general articles - the kind you'll be working on most of the time - we use the namespace to indicate the language, using the standard two-letter codes. The exception is English, which has no prefix; English articles go in the default namespace.

Article Titles and Redirects

When creating an article, you should translate the article title into the target language, and prefix it by the appropriate namespace prefix as above.

But if the title is different from the English version (as it generally will be), then you must also put in a redirect. This is an article that acts as a pointer to another article; it sends the user automatically to another page. This redirect should be in your language's namespace (such as DE:, ES:, etc.) but use the English title of the article.

When you create this article, you place within it a command to send the users on to the article with the correct title. This consists of the "#" symbol, followed by the word "REDIRECT", space, then the location you want to send them to in double square brackets.

   #REDIRECT [[DE:Römische Republik]]

Every article that you create must have one of these redirects, using the English equivalent title, but in the target language's namespace. A user that tries to go to DE:Roman Republic will be automatically sent to the correct place, DE:Römische Republik.

The reason for these extra redirects is to enable automatic linking between the equivalent pages - as described in the next section.

Another example:

Inter-Language Links

The recommended way to link between equivalent pages is by use of the LanguageBar template. This template works correctly only if you have created redirects from the English article title to the localized article title, as described above.

A template is a fragment of Wiki code that you can invoke from within other pages. It will be replaced, when the page is displayed to the user, with whatever has been set as the contents of the template.

The LanguageBar template should be at the top of every page that exists in multiple language-namespaces. To invoke it, use the following syntax:

   {{LanguageBar | english-page-name }}

Where english-page-name is the English name of the page your are editing. For example, within the page DE:Römische Republik, the following should appear:

   {{LanguageBar | Roman Republic}}

This will insert the following

SPQR-BLACK.JPG
IN·MEMORIAM·A·TVLLIAE·SCHOLASTICAE·AVGVSTAE·PRINCIPIS·SENATVS·CENSORIS·IIII·CONSVLIS·II·PRAETRICIS


 Home| Latíné | Deutsch | Español | Français | Italiano | Magyar | Português | Română | Русский | English

The links above point to DE:Roman Republic, Roman Republic (default namespace = English), ES:Roman Republic, etc. Some of these may be red because those articles do not yet exist.

The name that's passed to the LanguageBar template following the pipe symbol is used as the article name to link to for every target language. At each of those locations, either the article or a redirect to the translated article title should exist. This automatic linking is why it is essential to create the redirects from the English titles.

You can also do this for articles in special namespaces, like this one. Note the language bar at the top of this page; the English version is NovaRoma:Language Policies, but it links to DE:NovaRoma:Language Policies, which links back to here. Just use the full name (NovaRoma:Language Policies) as the parameter you pass to the LanguageBar template; it works the same way as it does for simple titles.

Additional Info

For questions or advice, please join the NRWiki mailing list.

Marcus Octavius Germanicus(t) 13:05, 9 April 2006 (CDT)

Personal tools