[Mediawiki-i18n] Good and bad fallbacks

Niklas Laxström niklas.laxstrom at gmail.com
Sun Oct 7 17:00:11 UTC 2012


On 11 September 2012 17:52, Platonides <platonides at gmail.com> wrote:
> What would be the right way to differenciate between fallbacks like
> Picard -> French (there's a similarity between the languages, the
> message might even be the same) and French -> English (which is there
> just for having a base language). Take the fallback lists like shown in
> the message file, I guess? What's the prefered way to do that? Shouldn't
> we add in that case another parameter to Language::getFallbacksFor() to
> disable the addition of en as final fallback?

You could use the localisation cache to access the raw value and
bypass the language class.
  -Niklas

-- 
Niklas Laxström



More information about the Mediawiki-i18n mailing list