Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2449a6c79bbf54b

Jump to content

Template talk:Translation

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Slightly confused

[edit]

Hey there, I'm not sure if anyone has this template watchlisted, but I'm not 100% clear on the proper usage of this template. Are we supposed to add the translated content inside the template, like:

{{translation|The quick brown fox}}

or

{{translation}} The quick brown fox

It doesn't seem to make any visible difference either way, so that's why I'm confused. Thanks! Cyphoidbomb (talk) 18:45, 25 July 2020 (UTC)Reply

@Cyphoidbomb: Seems more futureproof to put it inside, so that whatever markup the template thinks it needs can be applied. I don't know if this template needs updating to put apostrophes around the quoted term, to match the {{lit}} template. --Lord Belbury (talk) 17:48, 15 September 2020 (UTC)Reply
@Lord Belbury: Thanks for your input. The Indian Cinema Task Force tends to use this template to indicate translations of non-English film titles. I notice that MOS:TITLE#Translations seems to not want special formatting. I don't know what guideline {{lit}} is following. Regards, Cyphoidbomb (talk) 18:04, 15 September 2020 (UTC)Reply
@Cyphoidbomb: According to the edit that added it a few months ago, MOS:SINGLE. --Lord Belbury (talk) 18:44, 15 September 2020 (UTC)Reply

Semi-protected edit request on 25 December 2020

[edit]

Could a space please be added between "lit." and "transl."? I don't know of anything in MOS:ABBR that would provide for omitting the space. 207.161.86.162 (talk) 07:59, 25 December 2020 (UTC) 207.161.86.162 (talk) 07:59, 25 December 2020 (UTC)Reply

 Done Danski454 (talk) 01:52, 26 December 2020 (UTC)Reply

Edit request

[edit]

Please edit the documentation to make it clear that the meaning parameter should be a string surrounded by single quotes (eg 'meaning', not the current example "not is". (Per MOS:SINGLE and consistent with similar templates, such as the lit parameter in the Template:Lang-x/doc series). Shhhnotsoloud (talk) 19:11, 30 August 2022 (UTC)Reply

 Not done: According to the page's protection level you should be able to edit the page yourself. If you seem to be unable to, please reopen the request with further details.Jonesey95 (talk) 20:06, 30 August 2022 (UTC)Reply
If I could have done it myself I would have done, but I am unfamiliar with the coding in "example": "\"not is\"",. Perhaps you or another editor could assist please. Shhhnotsoloud (talk) 17:54, 31 August 2022 (UTC)Reply
 Done * Pppery * it has begun... 20:49, 31 August 2022 (UTC)Reply

gloss template versus translation template for inline translation

[edit]

When an inline gloss is a translation, what are he considerations for using {{gloss}} versus using {{translation}}? Shmuel (Seymour J.) Metz Username:Chatul (talk) 13:27, 2 October 2022 (UTC)Reply

Discussion at Wikipedia talk:WikiProject Linguistics § Template consistency

[edit]

 You are invited to join the discussion at Wikipedia talk:WikiProject Linguistics § Template consistency. Est. 2021 (talk · contribs) 10:25, 4 November 2022 (UTC)Reply

Style guidelines for multiple templates

[edit]

Are there style guidelines for the use of both {{translation}} and {{transliteration}} in conjunction with {{lang}}? E.g., "להד״​מ​ (lahada"m), לא ה​י​ו ד​ב​ר​י​ם מ​ע​ו​ל​ם (lo hayu dvarim meolam) - transl.such things never were, no way" -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 13:47, 14 April 2024 (UTC)Reply

"Template:Transl." listed at Redirects for discussion

[edit]

The redirect Template:Transl. has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 March 13 § Template:Transl. until a consensus is reached. CX Zoom[he/him] (let's talk • {CX}) 08:08, 13 March 2025 (UTC)Reply

"Template:Trans" listed at Redirects for discussion

[edit]

The redirect Template:Trans has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 March 13 § Template:Trans until a consensus is reached. CX Zoom[he/him] (let's talk • {CX}) 08:13, 13 March 2025 (UTC)Reply

"Template:Trans." listed at Redirects for discussion

[edit]

The redirect Template:Trans. has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 March 13 § Template:Trans. until a consensus is reached. CX Zoom[he/him] (let's talk • {CX}) 08:14, 13 March 2025 (UTC)Reply

Duplicate literal?

[edit]

Why does {{translation|he|גָּמָל|Camel}} render as transl.he – transl.גָּמָל with transl. inserted twice? -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 13:10, 1 April 2025 (UTC)Reply

Template-protected edit suggestion on 30 August 2025: HTML italics

[edit]

This template uses <nowiki> tags when using '' for italics, but wouldn't it be simpler to just use <i>?

  • |<nowiki/>'' |<i>
  • |''<nowiki/> |</i>

I put this change in the sandbox. diff

I also created testcases.

W.andrea (talk) 00:21, 2 September 2025 (UTC)Reply

Is this fixing a problem with one or more transclusions of this template? When nowiki tags are present in a template like this, it is usually to prevent errors in some sort of edge case. I can't think of what it might be right now. – Jonesey95 (talk) 06:06, 2 September 2025 (UTC)Reply
I saw the testcase you added and realized the tags are there for when the template is embedded in italics. Thanks for that. I withdraw my suggestion. — W.andrea (talk) 18:59, 2 September 2025 (UTC)Reply
Good thinking. That test case should help someone like one of us in the future. – Jonesey95 (talk) 19:16, 2 September 2025 (UTC)Reply