Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py

2011-09-04 Thread info
to time the i18n dictionaries are created and backported to pwb svn. Greetings xqt - Original Nachricht Von: Dr. Trigon dr.tri...@surfeu.ch An: pywikipedia-l@lists.wikimedia.org Datum: 03.09.2011 17:36 Betreff: Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py

2011-09-04 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think it was not a good idea to create these entries in tw directly. That's a pitty! Sorry for that... I was confused by if you can create the keys on translatewiki: do that. The normal way is to create a dictionary as described and make a

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py

2011-09-03 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First thanks Merlijn and xqt for you answers!! In order to get one step further I tried to follow Merlijn hints: If this is possible, the most reasonable solution to me would be this: 1) follow the guide to translating

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py

2011-08-30 Thread Dr. Trigon
: Merlijn van Deen valhall...@arctus.nl An: pywikipedia-l@lists.wikimedia.org Datum: 25.08.2011 19:46 Betreff: Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py Hello xqt, On 21 August 2011 15:49, x...@svn.wikimedia.org wrote: +value

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py

2011-08-30 Thread Merlijn van Deen
On 28 August 2011 13:27, Dr. Trigon dr.tri...@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

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py

2011-08-28 Thread Dr. Trigon
: [9448] trunk/pywikipedia/pywikibot/i18n.py Hello xqt, On 21 August 2011 15:49, x...@svn.wikimedia.org wrote: +value. At the moment, we have only one plural_func = x: x!= 1 yet. Multiple +PLURAL tags are not supported (yet). Good to see you're working on plural support

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py

2011-08-26 Thread Merlijn van Deen
Hi Xqt, On 26 August 2011 03:12, i...@gno.de wrote: I've seen it during discussion with Nikerabbit on tw.net (look at the first LQ-threat according pywikipedia) and I am working on a pythonic version of the plural-gettext.txt. I am using lambda function for that like this one (for mk-wiki):

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9448] trunk/pywikipedia/pywikibot/i18n.py

2011-08-26 Thread info
Hi Merlijn, Yes, this makes sense. Can TW output a formatted version? Anyway, I would suggest using the same dict-based format as the other translations, i.e. { 'en': lambda n: 0 if (n == 0 or n 1) else 1, 'mk': lambda n: 0 if (n==1 or n%10=1) else 1, } etc, which would make it easy