Hi Merlijn,

Op 9-7-2011 14:03, Merlijn van Deen schreef:
Hi Maarten,

    On 06/07/11 21:20, Maarten Dammers wrote:
    > other bots, duplication etc etc. I was thinking about just
    making a lib
    > (commons_lib.py?) to store the messages and moving the
    translations to
    > the i18n later on. Good plan? Or should it be in the family file?


I think it would be best just to use the i18n infrastructure - this essentially already is a library the way you suggest. Just name the messages commons-blah-die-blah, put then in i18n/commons.py and you've got the best of both worlds: central commons messages /and/ free translations.
I did this for some messages, so these can be translated at translatewiki. I'll probably move the more configuration like messages to a shared library.

Maarten


_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to