Page MenuHomePhabricator

Localisation of "Semantic Statistics" hardcoded on Special:Statistics? (SMW 1.9-alpha)
Closed, ResolvedPublic

Description

It seems that these messages are hardcoded right now, however I am pretty sure that I have done translations for the according messages.


Version: unspecified
Severity: normal
URL: http://semantic-mediawiki.org/wiki/Special:Statistics?uselang=qqx

Details

Reference
bz48537

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:40 AM
bzimport set Reference to bz48537.
bzimport added a subscriber: Unknown Object (MLST).
Kghbln created this task.May 16 2013, 2:00 PM

Adding URL to visualise the problem

Unknown Object (User) added a comment.May 16 2013, 2:12 PM

This is done in SpecialStatistics::getOtherStats() in mw-core which does

$name = $this->msg( $key )->inContentLanguage()->parse(); which does the translation of 'smw-statistics-property-instance' maintained in $extraStats['smw-statistics']['smw-statistics-property-instance']

The inContentLanguage is used and not the user language.

Unknown Object (User) added a comment.May 16 2013, 2:29 PM

Changing the behaviour need replacement of

$name = $this->msg( $key )->inContentLanguage()->parse();

with

$name = $this->msg( $key )->parse();

It took me over 5 month to get the getOtherStats() stuff changed in mw-core which means doing this change will surely take another 5 month because people complaining about "commas".

Karsten, please raise an issue in mw-core and lets see how long it will take this time. You can refer to this bug and put me on as an assignee.

Thank you for having a look into this James. I have just added the bug as advised which I am now adding here as "depends on".

Hoping things work out a bit faster. Indeed sometimes things appear irrational, but "living organisms" (software, people, processes, etc.) are just like it. Do not loose faith as I try not to.

Unknown Object (User) added a comment.May 16 2013, 5:17 PM

[1] got merged with mw-core marking this fixed as it was a non-SMW issue.

[1] https://gerrit.wikimedia.org/r/#/c/64087/