Announcing when languages pass the translation threshold to be exported to MediaWiki
Announcing when languages pass the translation threshold to be exported to MediaWiki
I think it would be nice to include the news that a language has started to be exported to MediaWiki on Project:News, perhaps even with a site message of congratulation. I think that would be an encouragement to all of us.
Yes, you're right. This stopped when the threshold was made automatic, I think. Is there a way to trace this? Looking at new localisation files added to core is not very easy, the easiest thing might be looking at Translating:Group statistics...
I was pointed to this git command, which you can use if you have a local MediaWiki checkout:
git log --format="format:%ci" --name-only --diff-filter=A languages/messages/
Current result:
2013-06-03 12:13:53 +0000 languages/messages/MessagesBbc.php languages/messages/MessagesBbc_latn.php 2013-04-29 19:36:36 +0200 languages/messages/MessagesBxr.php 2012-11-28 21:30:09 +0000 languages/messages/MessagesAzb.php 2012-07-24 01:38:58 +0200 languages/messages/MessagesTru.php 2012-07-01 13:05:28 +0000 languages/messages/MessagesEgl.php 2012-05-22 21:36:57 +0200 languages/messages/MessagesFit.php 2012-05-07 21:19:42 +0000 languages/messages/MessagesSat.php 2012-04-10 15:20:26 +0000 languages/messages/MessagesTly.php 2012-04-03 21:11:13 +0000 languages/messages/MessagesAeb.php 2012-03-11 23:28:11 +0000 languages/messages/MessagesLus.php 2011-12-25 09:27:07 +0000 languages/messages/MessagesNo.php 2011-12-25 09:24:39 +0000 languages/messages/MessagesNb.php 2011-11-11 12:24:29 +0000 languages/messages/MessagesEn_ca.php 2011-09-13 11:35:04 +0000 languages/messages/MessagesEn_rtl.php 2011-09-05 18:14:27 +0000 languages/messages/MessagesGot_goth.php languages/messages/MessagesGot_latn.php 2011-08-16 21:29:39 +0000 languages/messages/MessagesQug.php
If you want I can keep and update such a plain text output on toolserver, but I don't know how to make it into a feed.
It shouldn't be too hard to have the output of this command be piped to a wikipage. You can then use watchlist to track change. Is there even per-page atom feed?
According to Nike creating a new Messages.php file is a manual step. So in theory, a developer could post a note on the news page when they create the Messages.php file. That would depend on them having the time to do this though.
Update: the report is now available at Translating:MediaWiki/New languages, please watchlist it.
As for manual creation, it's still true about MessagesXx.php, but Nike told me the xx.json files are loaded automatically. So, if I understood correctly, once exported the language is immediately put into use.
Thanks. I have compared the log of new languages added on 24 June 2014 to the list of MessagesXx.php files on git - they are not listed. Is there usually a delay before they are added? If so, do I need to keep returning to the list on git until I see the new languages have been added?
Nike told me the translations in JSON files should be loaded anyway and I was able to select those languages in Special:Preferences, except tzm which was missing from Names.php and has since been fixed.
OK. I will add new languages to the news page as and when they appear in the log. Perhaps I will find out what a .json file is at Wikimania in London!
I have checked the list of messagesXx.php files in MW core against the list of language names and note that the language Aeb (Tunisian Spoken Arabic) also appears to be missing from the list of language names. Could you fix this also?
That's not the same thing, it might be a dummy language file; but I'll check.
As for JSON, Amir wrote a page on mediawiki.org which will hopefully be useful even before Wikimania :-), mw:Localisation file format.