Last modified: 2014-08-26 03:35:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13732, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11732 - Allow localization of edit button images in LanguageXYZ.php
Allow localization of edit button images in LanguageXYZ.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.12.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: edit-toolbar
  Show dependency treegraph
 
Reported: 2007-10-21 15:25 UTC by Eugene Zelenko
Modified: 2014-08-26 03:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Eugene Zelenko 2007-10-21 15:25:12 UTC
Bold and Italic buttons are definitely English centric now. It's possible to customize then in MediaWiki:Monobook.js (see http://lists.wikimedia.org/pipermail/mediawiki-i18n/2007-October/000206.html), but this solution must be applied in every installation of MediaWiki.

I think will be good idea to add array for buttons image names in Language.php and ability to change it in every language class.

In this case localization will work out of the box on every project on particular language without additional changes. Also it'll work for multi-language wikis such as Commons, Meta, WikiSpecies or OmegaWiki.
Comment 1 Brion Vibber 2007-12-03 22:00:23 UTC
Can you provide examples (references to screen shots, for instance) of widely-used desktop software which localizes system-standard bold and italic toolbar icons?
Comment 2 Eugene Zelenko 2007-12-04 05:09:28 UTC
If I'm not mistaken, Microsoft does so in Office since version 95 (at least for Russian localization).

See http://office.microsoft.com/ru-ru/word/HA100742241049.aspx for screenshot.
Comment 3 Mohamed Magdy 2008-06-17 23:58:28 UTC
You can make the buttons language neutral (no letters/text at all) or do like the request mentions. 

@brion: the lack of it in other software or negligence in doing it doesn't mean MediaWiki cannot start that habit and even spread it. we are already localizing everything (it is like saying that other software packages don't include localizations for language X so MediaWiki shouldn't include it).

May be that can affect performance that you will have to load different images for each language but I'm not sure if it is an issue..

user:alnokta
Comment 4 Niklas Laxström 2008-07-04 10:37:40 UTC
See r37040. It is now possible to overwrite images per language basis (fallbacks are honoured), if someone commits a suitable licensed image and adds item to $imageFiles array in MessagesXyz.php.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links