Template:Otherlang

From Open Food Facts EN
Jump to navigation Jump to search

Other languages
/ deutsch / français /

This template adds available translations for the page to the top.

To prevent issues, this template must be placed at the very beginning of a page.

Tip! When contributing a new translation to a document that already has other translations, please carry over the existing translations to the otherlang template of your contributed page. This way all multilingual pages are linked.

Syntax

  {{otherlang
  | de=Test:de
  | fr=Main_page:lang2
  | etc...
  }}

Warning! Do not include the language of the current page. This will only confuse readers.

Example

On a page called Test:

  {{otherlang
  | de=Test:de
  }}

Note that:

  • The language "en" is not included, as it is the language of the page that template is being used on.
  • The English page has no suffix.
  • The same template must be used on the translated page (with the other language) to link back

Available Languages

Language Syntax
English en=Page_name
Deutsch de=Page_name:de

See also

Otherlang has been inspired by:

See also other ways to do it:

Other languages
/
https://wiki.openfoodfacts.org/Template:Otherlang
wiki.openfoodfacts.org
crawl=CC-MAIN-2020-34
19717
application/http; msgtype=response
sha1:TIGGYEZHOD2YQ3GP7VNUA5V4I6NKZI4I
<urn:uuid:9ce88487-66b1-4041-9a17-68ff8b6f0c92>
2020-08-03T15:26:30Z
188.165.240.175
text/html
sha1:CO733MKXBDJ5UZSLHBA75IUTR32Q4Y5U
<urn:uuid:f12f803c-7789-4ffa-b373-33a1652f42a4>
https://wiki.openfoodfacts.org/Template:Otherlang
response
<urn:uuid:6fee2ef9-2d54-4043-b7e8-65a5617eb2de>
isPartOf: CC-MAIN-2020-34
publisher: Common Crawl
description: Wide crawl of the web for August 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-75.ec2.internal
software: Apache Nutch 1.17 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/