I do not see a new translation group is necessary for your purposes. In fact I see few posibilities:
- you may recycle translations in the i18n folder if it fits - if your script is able to be distributed we could commit (with i18n extension) - I am implementing translated bot owner messages wich (hopefull) coming soon. If so, you may check whether there are messages to re-use - finally we could implement bot-specific messages as part of the pwb framework and port them to translatewiki like other messages. We could handle with drtrigonbot.py, xqbot.py valhallasw-bot.py as well. Maybe they should get a thirdparty-suffix.
best regards xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 30.08.2011 13:23 Betreff: Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py
On 28 August 2011 13:27, Dr. Trigon dr.trigon@surfeu.ch wrote:
I'm thinking about a good implementation for translations. As you are switching to translatewiki I would like to do this also. The actual question is how to do so??
At the moment, there is not really an obvious answer for scripts not in svn, as all translations are stored in svn. I'm not sure if it's possible to create translations on translatewiki.net for keys that are not already in svn.
If this is possible, the most reasonable solution to me would be this:
- follow the guide to translating (
http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-January/006632.html)
- use keys starting with 'thirdparty-drtrigon'; i.e.
thirdparty-drtrigon- 3) if you can create the keys on translatewiki: do that. if not: b) submit a bug report to get your translations in svn, so they can be translated
There might be some problems with the location of translation files, however (I think pywikipedia will search them in the i18n subfolder based on the script you are running, which will fail if your scripts are not in the same location as the other pywikipedia scripts). Might be solveable with some symlinks, though.
Best, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l