Hey everyone,

thank you very much for your helpful advices, both at IRC and in this list.
I created a little library that's satisfying my current needs. Its
sourcecode is on https://github.com/urbanecm/flask-jsonlocale and it can be
installed via pip install flask-JSONLocale.

Best,

Martin

st 19. 9. 2018 v 0:08 odesílatel Kunal Mehta <[email protected]>
napsal:

> 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
> [email protected] (formerly [email protected])
> https://lists.wikimedia.org/mailman/listinfo/cloud
_______________________________________________
Wikimedia Cloud Services mailing list
[email protected] (formerly [email protected])
https://lists.wikimedia.org/mailman/listinfo/cloud

Reply via email to