If you edit the LanguageXX.php files, then you can run the rebuildMessages.php maintenance script afterwards, which updates the MediaWiki namespace using the updated language file.
Of course, the other benefit of editing the LanguageXX.php files is that you can post a patch on BugZilla, which helps to get MediaWiki's overall internationalisation improved. ;-)
Rob Church
On 22/12/05, Ignacio Gonzalez T. igtorque@eliop.es wrote:
Hello everybody.
I've recently installed Mediawiki in my Department's intranet web server and things are working fine.
Alas, some text strings are in English (even very visible ones, such as discussion, edit and history) instead of in our local language (Spanish). So I decided to translate them, for the beneift of my less international mates.
After reading through the online help pages and documentation, I'm a bit confused about the current procedure to translate a wiki to another language. On one hand, there is the LanguageXX.php files. On the other hand, there is the recommended procedure ("as of August 2005") to edit the texts directly through the very wiki editing mechanism and the Special Pages.
The last method works fine and is very direct and easy to use. But I find it very time consuming: instead of translating a batch of strings, I find myself translating string by string and updating page by page on my (very slow) server. At this pace, I won't have my wiki ready for Xmas.
Is there any batch procedure for doing the same "in just a couple of commits"? I mean, some php script, sql script or the like that takes all the string from a text file or table and updates the whole thing. (I'm quite new on php, sql, apache and life in general, so I don't know if I am asking for absurd things).
Please forgive my naïveness.
Many thanks.
Ignacio Gonzalez igtorque(AT)eliop(DOT)es(ANDTHISISTHEEND)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l