Hi,
On 9/18/18 7:13 AM, Martin Urbanec wrote:
> I'm sometimes use Flask for my Toolforge tools. I'd like to localize
> them, ideally with messages directory in similar format like MediaWiki
> has in i18n directory.
There's the pywikibot.i18n component[1][2], though I've never actually
tried using it with a Flask tool.
[1]
https://gerrit.wikimedia.org/g/pywikibot/core/+/master/pywikibot/i18n.py
[2]
https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.html#module-pywikibot.i18n
-- Legoktm
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud