https://bugzilla.wikimedia.org/show_bug.cgi?id=37704
--- Comment #4 from Siebrand <[email protected]> 2012-06-19 01:14:42 UTC --- (In reply to comment #2) > The use case is being able to display the name of a language in a particular > language. > > e.g. in an article (content language), or in the interface (interlanguage > sidebar, bug 37703, user language). > > I found out just now that a hook for this exists > (LanguageGetTranslatedLanguageNames), but it doesn't do anything by default. > Without an extension ("Extension:CLDR", I presume) it doesn't do anything. So > unless that is merged in core, we can't use it to (for example): > * render language names in the sidebar in the user language > * use it from wikitext to display language names in the content language > > If for some reason it must not be merged in core, we could maybe create an > extension that depends on CLDR and implements the above 2 features? IIRC you can just call the core methods, and if CLDR or similar is installed, it will try to provide a localised name; if that's not available it will do as it's always done. Having it in core is not a requirement, you just need to update the way that interlanguage link language names are resolved. WFM, I think. (In reply to comment #3) > Also, although there is a large amount of content there, it seems the list in > CLDR is still somewhat incomplete: > > https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/cldr.git;a=tree;f=LocalNames;h=97bb656aaec4ad1baaebd03e3d423ddddc7d35cf;hb=HEAD > > Is that upstream cldr or maintained at translatewiki? Upstream. And that's what it will remain as long as translatewiki.net cannot be a bulk data supplier for Unicode's CLDR. This is the type of duplication I don not believe in. -- 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
