This should be used in all templates that currently only accept the full language name to allow them to accept language codes as well. This should not be used in place of {{language}}
as it encourages inconsistency - it is only as a temporary measure until all templates that don't use {{language}}
have been fixed, and the calls to them updated. Conrad.Irwin 09:48, 7 May 2008 (UTC)
I've suggested modifying this template to use {{langname/name|…}}
rather than {{#if:0|…}} in the event that the argument contains one or more uppercase characters (that is, in the event that the argument is the name of a language rather than the code for it). This will not affect entries in any visible way, but it will populate Special:WhatLinksHere/Template:langname/name with the list of pages wherein such arguments occur, allowing for some cleanup to take place. I believe CodeCat (talk • contribs) intends to implement that suggestion within the next few days if no one objects or has a better idea, so if you do, please leave a comment at Wiktionary:Grease pit#Finding out which pages call {{langname}} with a language name instead of a code. —RuakhTALK 01:56, 9 September 2010 (UTC)
The following discussion has been moved from Wiktionary:Requests for deletion/Others.
This discussion is no longer live and is left here as an archive. Please do not modify this conversation, but feel free to discuss its conclusions.
Probably the last holdover from the language template era. Even from the time before that. But it's orphaned now. —CodeCat 23:51, 7 April 2014 (UTC)
@Erutuon I think we need a template like this to generate the language name from the code in place of a complex module invocation. But why does this have a 'safesubst:' in front of it, and the doc say it has to be substituted? Benwing2 (talk) 03:58, 10 October 2019 (UTC)