Last modified: 2011-10-12 01:16:47 UTC
# dates 'sunday' => 'Minggu', 'monday' => 'Senén', 'tuesday' => 'Salasa', 'wednesday' => 'Rebo', 'thursday' => 'Kemis', 'friday' => 'Jumaah', 'saturday' => 'Saptu', 'january' => 'Januari', 'february' => 'Pébruari', 'march' => 'Maret', 'april' => 'April', 'may_long' => 'Méi', 'june' => 'Juni', 'july' => 'Juli', 'august' => 'Agustus', 'september' => 'Séptémber', 'october' => 'Oktober', 'november' => 'Nopémber', 'december' => 'Désémber', 'jan' => 'Jan', 'feb' => 'Péb', 'mar' => 'Mar', 'apr' => 'Apr', 'may' => 'Méi', 'jun' => 'Jun', 'jul' => 'Jul', 'aug' => 'Ags', 'sep' => 'Sép', 'oct' => 'Okt', 'nov' => 'Nop', 'dec' => 'Dés',
Please see http://meta.wikimedia.org/wiki/MediaWiki_localisation for information on generating a patch, although some kind soul might do that for you.
Interestingly, 1.5.2 doesn't ship with a LanguageSu.php file, at least, not as far as I can determine from CVS. What language *is* that?
(In reply to comment #2) Ups... SU represent the Sundanese language. Wikipedia in Sundanese (su.wikipedia.org) initialized last year without the languageSu.php file. I translate the system messages directly from the site (see http://su.wikipedia.org/wiki/Special:Allmessages). How about that?
MediaWiki doesn't currently have a LangaugeSu.php file, please attach one that works in HEAD to the bug.
you also need to provide translations for namespaces )
Combined the stuff above with the PHP view of that wiki's Special:Allmessages, and we have the makings of a LanguageSu.php file right there. As Ashar says, we'd ideally want namespace translations too...
(In reply to comment #6) In the "PHP view" on page Special:Allmessages, we can find the translations (at least some of it). Or is it something else?
Namespace names are those like (for Wikipedia), the main namespace (isn't named, really), the project namespace, "Wikipedia", e.g. Wikipedia:Introduction; the Special namespace, e.g. Special:Allmessages and the Talk namespace, e.g. Talk:Foo. We'd want to include translations of these in the LanguageSu.php file as well, if possible. However, we do have an excellent start here, which we can start to put together, and improvements can be added later.
Here they are... Then, how should I do for the next improvement(s)? /* private */ $wgNamespaceNamesEn = array( NS_MEDIA => 'Média', NS_SPECIAL => 'Husus', NS_MAIN => '', NS_TALK => 'Obrolan', NS_USER => 'Pamaké', NS_USER_TALK => 'Obrolan_pamaké', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $wgMetaNamespace . 'Obrolan_', NS_IMAGE => 'Gambar', NS_IMAGE_TALK => 'Obrolan_gambar', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'Obrolan_MediaWiki', NS_TEMPLATE => 'Citakan', NS_TEMPLATE_TALK => 'Obrolan_citakan', NS_HELP => 'Pitulung', NS_HELP_TALK => 'Obrolan_pitulung', NS_CATEGORY => 'Kategori', NS_CATEGORY_TALK => 'Obrolan_kategori', );
Begin to put together a LanguageSu.php file, in the arrangement used by the other full translated language files, e.g. LanguageDe.php.
Created attachment 1180 [details] Sundanese Language.php file this is the original file where I translate mediawiki interface for Sundanese subdomain.
I want to help Kandar. Do we still need to provide to -u patch file? I think patch is not relevant since there no such a file (LanguageSU.php) in current mw installation.
(In reply to comment #12) > I want to help Kandar. Do we still need to provide to -u patch file? I think > patch is not relevant since there no such a file (LanguageSU.php) in current mw > installation. If the file doesn't exist, a patch isn't needed. We'll just have the file as it is.
I have commited a basic file to support Sudanese language. The above patches are based on a wrong file (Language.php?). I have also copied data from http://su.wikipedia.org/ to implement some basic translations. Please post future update using the guide on meta: http://meta.wikimedia.org/wiki/MediaWiki_localisation
su.wikipedia interface is a mess now. Please fix.
Change Priority=High, Severity=Major, since applied patch language had destroy the su.wikipedia main page interface. The main page now is full with "Warning: Invalid argument supplied for foreach() in /usr/local/apache/common-local/php-1.5/languages/Language.php on line 2307" messages
(In reply to comment #14) > I have also copied data from http://su.wikipedia.org/ to implement > some basic translations. We had some javascript code in CVS (msg:'lastmodified'; discovered by Nikerabbit) that allows the site in question to get access to the users session on both all sundanese wikimedia projects and any MediaWiki wiki using a sundanese interface. None of the namespaces worked either (fixed by Nikerabbit also) *Please* do a sanity check on these things before you submit them as they're quite often full of garbage;)
I'm sorry for the statcounter case, I don't know that It was violate the privacy policy of the Wikimedia projects. It was deleted, and Brion have revoke my sysop status in Sundanese Wikipedia, temporarily (I hope). So, I've seen the result. The default interface are now in Sundanese, most of it, but I found something "funny". In the other projects (Wiktionary, Wikibooks, etc.), the default are in Sundanese, but then most of the messages are "translated" into English. It means that I have to change all of those messages back into default, and it means many work. Is there any method(s) to automatically delete this "English" translation?
Non-translated messages are not included anymore in the PHP output of allmessages, which however is not the preferred way to do general patches for MediaWiki.