Forum:Community Widget Localization

I'm trying to complete the French localization of fr.ikariam.wikia.com, and can't seem to find certain strings. In particular, the Latest Activity in the Community sidebar displays time elapsed as "yesterday", "x minutes ago", "x hours ago", etc. Where are those strings?

I'll ask for more as I not-find others, if you see what I mean. :-) Polytherion 00:22, 19 September 2008 (UTC)


 * It seems that there's no MediaWiki message for that. Maybe it's hard-coded? The Monaco Skin has this and other text interfaces hard-coded and unable to be translated. --Ciencia Al Poder (talk) -WikiDex 15:34, 19 September 2008 (UTC)

I guess I don't really need to point out how bad a practice that is? Polytherion 04:12, 20 September 2008 (UTC)

Touring the Main Pages shows that only the French and English wikikariams show those messages: the "time ago" part is blanked out on the others (Swedish, Polish, Dutch, etc.). Polytherion 04:18, 20 September 2008 (UTC)
 * I went to our (English) System Messages section and this is what I found so far:

As far as I can tell the word Hours' and  Minutes are hard coded so far and as Polytherion mentioned are not on all the different language versions of Ikariam Wikia, I hope those few links helped -- ( Morph | Contribs | Talk ) 21 septembre 2008 à 15:50 (UTC)
 * Minutes-abbrev
 * Hours-abbrev
 * Wikiastats days ago
 * Wikiastats months ago
 * if you go to the top of the page and type in Time you get a few that deal with upload times and such but nothing directly related to that Comunity sidebar settings


 * Yes, the timewords used in that widget are current hard coded in English. A ticket has been filed for this to be changed. We do realize this is bad practice, and we apologize for the inconvenience it has caused so far. Please bear with us a little longer while we get this taken care of. --Uberfuzzy 19:35, 22 September 2008 (UTC)

Where are the tickets? I tried Special:ProblemReports, but that's empty. Polytherion 11:24, 23 September 2008 (UTC)
 * Problem reports is for users to report problem to admins about wiki pages. I was referring to an internal task ticket. I do have some good news! The changes have been made, and will be made available next week. Here is the list of the mediawiki pages and their English defaults if you would like to have them ready to go on your wiki.


 * 'widget-community-secondsago' => ', NaN $1 seconds agos'
 * 'widget-community-minutesago' => ', NaN $1 minutes agos'
 * 'widget-community-hoursago' => ', NaN $1 hours agos'
 * 'widget-community-yesterday' => ', yesterday'


 * NaN undefineds is a magic built in function that looks at the first thing as a number. if it is a 1, it uses the 1st text, if its more then 1, it uses the 2nd text.
 * also please note the comma, then space inside the quotes, this is important, please remember to leave that in there when translating them.
 * --Uberfuzzy 13:29, 23 September 2008 (UTC)

Good! I created a bunch of separate pages for other localisation issues:


 * Forum:Gaming Widget Localisation‎
 * Forum:Languages Widget Localisation‎
 * Forum:Related Communities Widget Localisation‎
 * Forum:Wikia Spotlight Widget Localisation‎
 * Forum:Community Widget Localisation‎
 * Forum:Dashboard Widget Localisation‎
 * Forum:Special Pages Localisation‎
 * Forum:Miscellaneous Localisation Issues
 * Forum:WikiaStats_feedback

The rest, in various sub-pages, will be dealt with progressively. As the French localisation stabilises, I'll back-port it to the ikariam.wikia pages (e.g. MediaWiki:*/fr). Polytherion 17:54, 23 September 2008 (UTC)

PLURAL: misbehaving?
Here's a head-scratcher: 'widget-community-secondsago'/'-minutesago'/'-hoursago', when written something like ", il y a NaN $1 heuress " yield the opposite behaviour, displaying the singular message when the time is plural and vice-versa fail to work: the singular message is displayed regardless of the input. It cannot be the PLURAL: function because other messages---such as those used to display categories---resolve their plurals correctly. Can anyone figure this one out? For example, go to this category page and see how the category blurb is plural ("Les 2 pages suivantes figurent...") while the "Changements récents" widget in the left-hand panel obstinately displays "one minute" for multi-minute-old edits...The French system messages are here. Polytherion 18:34, 25 September 2008 (UTC)


 * Could it be the code was incorrectly implemented and the wikia is sending a string when PLURAL: is expecting an integer? Polytherion 19:21, 25 September 2008 (UTC)

Now that its too late...
I would like to remind you guys, that this page was about 1 specific localization problem with 1 widget, not as a general dumping ground for every i8n problem in all the widgets and/or wikiastats. Your issues, while valid, are very very unlikely to ever be seen if they are buried on a page with a non connected title like this. You stand a much better chance of getting them fixed if you open a general forum page about the multiple i18n problems in the widgets, or post your wikiastats issues in the WikiaStatus feedback page --Uberfuzzy 14:14, 27 September 2008 (UTC)

Done and done. Polytherion 12:45, 28 September 2008 (UTC)