https://bugzilla.wikimedia.org/show_bug.cgi?id=19891

           Summary: Allow for fallback languages in i18n map rendering
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/os
                    m-tools/osm2pgsql-style/create-language-
                    views.pl?view=markup
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Maps
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Currently we just do:

    case when "name:$code" is not null then "name:$code" else name end as name

But some languages would like to have more complex fallbacks, e.g. "hsb" would
like to fallback to "de" and then the generic name.

So we need a machine-readable list of such language fallbacks, or make one if
it doesn't exist.

In the latter case it might be conductive to completeness to implement it via a
extension i18n message so people can translate it via the MediaWiki namespace,
e.g.:

    hsb:MediaWiki:SlippyMap-rendering-language-fallbacks: de, _generic

Then we can periodically run a script which pulls those messages down & updates
our list of fallbacks.


-- 
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

Reply via email to