Xqt triaged this task as "High" priority.
Xqt added a comment.
Herald added a subscriber: PokestarFan.

Fallback is False per default in i18n.translate() which means there is no fallback for language codes. But there is obviously one for families. I think this line
elif 'wikipedia' in xdict: xdict = xdict['wikipedia']
should be rethinked and removed. But I have no ideas about side-effects yet.

I think we should either have a flat dictionary which means we have language codes and language fallbacks could be done for i18n. Or we have a structured dictionary with family names and site codes and fallbacks should never be done for this L10N.

Do we have any mixed dictionaries with both flat language or site codes and family entries?


TASK DETAIL
https://phabricator.wikimedia.org/T170987

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, PokestarFan, matej_suchanek, TerraCodes, Emijrp, Aklapper, pywikibot-bugs-list, JAnD, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Luke081515, jayvdb, Ricordisamoa, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to