Last modified: 2007-01-10 18:22:55 UTC
Originally I noticed on http://www.mediawiki.org/w/index.php?title=Special%3ALog&type=import&user=Titoxd&uselang=es that part of the import log interface was not fully translated, particularly the "$1 revision(s) from $2" part. Then, I noticed that "my preferences" at the top is not translated either. I then switched my language in [[Special:Preferences]] to Spanish, and I got the same result. I then asked a few other users on #wikipedia-es to tell me if they saw the same, to remove the possibility of it being a strange artifact of my cache, and all of them reported the same issue. Then, I went to the English Wikipedia move log, used ?uselang=es, and got a fully translated interface, with the exception of "my preferences" again. The Spanish Wikipedia correctly displays "mis preferencias", and I cannot find the place where this error is located. MessagesEs.php looks fine at a glance, but it's the only culprit that I can imagine.
Created attachment 3041 [details] Fixed "my preferences" issue Found the "my preferences" bug, but I can't find the others yet.
The patch was applied by werdna in r19053. About the other problems: compare the appropriate parts in languages/messages/MessagesEn.php to the same parts in languages/messages/MessagesEs.php. In this parts, MessagesEs.php is probably not complete. See http://meta.wikimedia.org/wiki/MediaWiki_localisation for information how to complete it. You can use the command line script "php maintenance/language/checkLanguage.php --lang=es" to see the possible improvements for MessagesEs.php.
That can't be it, because I did compare the two message files side-by-side, and MessagesEs is complete, at least on that part. The relevant portions are: MessagesEn.php 'import-logentry-upload' => 'imported [[$1]] by file upload', 'import-logentry-upload-detail' => '$1 revision(s)', 'import-logentry-interwiki' => 'transwikied $1', 'import-logentry-interwiki-detail' => '$1 revision(s) from $2', MessagesEs.php 'import-logentry-interwiki' => 'transwikificada $1', 'import-logentry-interwiki-detail' => '$1 revisión/ones desde $2', 'import-logentry-upload' => 'importada [[$1]] por subida de archivo', 'import-logentry-upload-detail' => '$1 revisión/ones', That said, when I try http://localhost/MediaWiki/index.php?title=Special:Recentchanges&limit=50&uselang=es (which includes two entries on the deletion log, one on the protection log, and another one on the move log), without any modification to the default system messages, I still get parts of the log entries untranslated. The entries read: * (Registro de borrados); 07:03 . . Titoxd (Discusión | contribuciones | bloquear) (deleted "Tito": content was: '#REDIRECT Titoxd' (and the only contributor was 'Titoxd')) * (Registro de borrados); 05:08 . . Titoxd (Discusión | contribuciones | bloquear) (deleted "Titoxd": content was: 'Me.' (and the only contributor was 'Titoxd')) * (Protecciones de páginas); 05:00 . . Titoxd (Discusión | contribuciones | bloquear) (protected "Titoxd": semi-protect [edit=autoconfirmed:move=autoconfirmed]) * (Registro de renombrados); 04:35 . . Titoxd (Discusión | contribuciones | bloquear) (Tito moved to Titoxd: more MediaWiki database tests) My local copy of MediaWiki is running on SVN HEAD, so having old message files is not an issue.
All the "content was: 'Me.' (and the only contributor was 'Titoxd')" stuff uses the content language (content language is the default language of the site), as it's an edit summary. About "protected "Titoxd": [...] [edit=autoconfirmed:move=autoconfirmed]" - it is localised in Special:Log, but not in Special:Recentchanges: it is stored as an edit summary there, so the content language is again used. These parts in the interface use the content language and cannot be localised for the interface language (the interface langauge is the language set by "uselang=xx" or by the user preference). In wikis with a content language set to "es", such as http://es.wikipedia.org/ , these parts are localised. In wikis with another content language set, these parts use this content language.
Yes, but I was expecting "protected", "deleted", "moved to" to be translated, as they indeed are at http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=move&user=&page=&uselang=es and http://www.mediawiki.org/w/index.php?title=Special%3ALog&type=move&user=&page=&uselang=es. Both of those wikis are set to English, and the messages are translated; the only one that doesn't work is the Import log message. I realize the edit summaries are not going to be translated, for obvious reasons, but some of the system messages that should be translated aren't.
I don't see the problem. In http://www.mediawiki.org/w/index.php?title=Special:Log&type=import&uselang=es , everything except for the edit summaries ("3 revision(s) from [[meta:Category:MediaWiki database tables]]") is translated ("X transwikificada Y").
Hmm... ok, I see now. I thought those were generated from the interface, not hardwired as edit summaries. As the patch that fixed the "my preferences" bug is committed now, I'm closing the bug as FIXED.