https://bugzilla.wikimedia.org/show_bug.cgi?id=16699
Summary: {{#language:...}} should support variable language
**output** as well as input
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Internationalization
AssignedTo: [email protected]
ReportedBy: [email protected]
It would be very useful for the {{#language:...}} parser function to take a
second parameter, which is the language in which the name of the language
*code* given in the first parameter should be displayed. Eg:
{{#language:en|en}} == {{#language:en}} --> English
{{#language:en|fr}} --> Anglais
{{#language:fr|en}} --> French
{{#language:fr|fr}} == {{#language:fr}} --> Français
This is after discussion at en.wiki VPR (
http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=258801355#ISO_language_template
) where we considered the usefulness of such a template. It essentially
requires an array approximately 185x185 containing the name of every language
in every other language; someone pointed out that this content is being created
(slowly!) at http://unicode.org/cldr/survey_tool.html ; some is already
available in our svn (
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/cldr/ ).
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l