Daniel Kinzler wrote:
> Siebrand Mazeland schrieb:
>> Any input/output format requires 'ffs' support in Translate, whichever
>> format would be chosen as wanted, if not already supported (see
>> extensions/Translate/ffs/). At the moment there is support for Wiki
>> (MessagesXx.php), WikiExtension (MediaWiki extension i18n style), gettext,
>> Java .properties style (key=message), PHP variables ($key="message"), and
>> XLIFF (untested). One of these supports multiple languages in one file
>> (WikiExtension).

I think we will be better of with flat files (for example in PHP or java 
properties format or maybe) versioned in some version control, similary 
as MediaWiki is doing.

Java editounter is using Java properties already:

https://fisheye.toolserver.org/browse/editcount/trunk/editcount/i18n/

PHP tools like WikiSense prefer PHP format.

The reason for this is that you need to be able to understand message 
history - you need to know which messages have been added and which 
messages have been changed since the translation, to flag the modified 
existing messages on the Wiki. Ability to make diffs is very helpful, 
and doing this with database is a bit cumbersome.

On the other hand, we don't really need database for this, given that 
amount of writes will be much less than the amount of reads.

An automated way to move commit messages from, say, SVN, to Betawiki 
that explain why such message has been added would be nice.

Is Fuzzybot able to import svn commit messages in the MessagesEn.php to 
Betawiki?

For example, with this commit:

------------------------------------------------------------------------
r46258 | siebrand | 2009-01-26 14:19:55 +0100 (pon, 26.01.2009) | 1 line

Introduce 'deletedcontributions-title' as page title for 
Special:DeletedContributions to avoid having to share the message with 
that used on Special:SpecialPages. Copy contents from 
'deletedcontributions' where available. At request of Fryed-peach.

===================================================================
--- MessagesEn.php      (wersja 46246)
+++ MessagesEn.php      (wersja 46258)
@@ -2210,7 +2210,8 @@
  'special-categories-sort-abc'   => 'sort alphabetically',

  # Special:DeletedContributions
-'deletedcontributions' => 'Deleted user contributions',
+'deletedcontributions'       => 'Deleted user contributions',
+'deletedcontributions-title' => 'Deleted user contributions',

  # Special:LinkSearch
  'linksearch'       => 'Search web links',

 From FuzzyBot we got edit 
http://translatewiki.net/w/i.php?title=MediaWiki:Deletedcontributions-title/en&oldid=1020097

Maybe FuzzyBot could put a commit message on some page like 
http://translatewiki.net/w/i.php?title=MediaWiki:Deletedcontributions-title/qqq 
or some other page?

Many messages are missing description what are they actually for, and 
putting commit messages could help a bit.


The other way around - Betawiki revisions are moved in batches from the 
Wiki to the SVN. We might consider importing change descriptions from 
wiki editors, but I am not sure this is necessary. I understand that 
granularity of wiki edits and SVN commits will be different, unless we 
will get some automatic wiki->svn commit robot.

--Marcin


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

Reply via email to