Last modified: 2013-10-13 18:41:24 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 T40350, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38350 - [TUX] Buttons to insert non-translatable parts like parameters
[TUX] Buttons to insert non-translatable parts like parameters
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Normal enhancement (vote)
: ---
Assigned To: Niklas Laxström
https://translatewiki.net/wiki/Thread...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-12 02:50 UTC by Nemo
Modified: 2013-10-13 18:41 UTC (History)
5 users (show)

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


Attachments

Description Nemo 2012-07-12 02:50:52 UTC
As with the ↓ for translation memory suggestions, it could be useful to add a "button" to insert in the text are the missing parameters detected by the automatic warnings in the translation editor.
Comment 1 Nemo 2012-07-12 02:52:45 UTC
Use case: I'm a translator, I want to avoid writing manually the names of the parameters (and other markup maybe) in the messages because it's tedious, so when I can't or forget to copy and paste them from the source text or from the suggestion I want an easy way to insert them in my translation.
Comment 2 [[kgh]] 2012-07-12 07:57:05 UTC
Changing importance from lowest to normal since this is THE shortcoming of this extension. As a matter of fact it should be actually be high or even more important. I am utterly astonished why there was no serious reaction from the coders to the thread on twn.n so far. However, I may be biased in this case.
Comment 3 Niklas Laxström 2012-10-10 14:24:11 UTC
Really, is it that hard to type "$1" or perhaps "%{foo}"? Given that the current insertions don't have accesskey, you would need to use mouse which takes a lot of time.
Comment 4 [[kgh]] 2012-10-10 14:31:21 UTC
Did you ever have the chance to translate for e.g. EOL? Obviously not. This is not just about MediaWiki or FreeCol, it is about all projects supported by tw.n
Comment 5 Niklas Laxström 2012-10-10 15:09:37 UTC
So what is special in EOL?
Comment 6 Pau Giner 2013-02-26 16:17:07 UTC
Designs for adding non-translatable parts (such as parameters, or "magic words") were included in the design specification at http://commons.wikimedia.org/w/index.php?title=File:Translate-workflow-spec.pdf&page=14
Comment 7 Siebrand Mazeland 2013-04-18 18:19:56 UTC
(In reply to comment #5)
> So what is special in EOL?

EOL, as well as OpenStreetMap and other Ruby on Rails applications, has alphanumeric variables, which make them prone to typos, and some (yes, they are) bad translators, translate the variables. Example of source text:

 Article - %{dato_title} from %{supplier}.
Comment 8 Niklas Laxström 2013-04-25 11:46:00 UTC
Our check system already can identify variables. That would be a nice starting point for this.

The check system need rewriting anyway to be a proper API that TUX can use.
Comment 9 Gerrit Notification Bot 2013-09-14 21:15:02 UTC
Change 83921 had a related patch set uploaded by Nikerabbit:
Initial support for insertables

https://gerrit.wikimedia.org/r/83921
Comment 10 Gerrit Notification Bot 2013-09-17 17:46:21 UTC
Change 83921 merged by jenkins-bot:
Initial support for insertables

https://gerrit.wikimedia.org/r/83921
Comment 11 Andre Klapper 2013-10-13 11:41:34 UTC
Is there more work needed, or can this be closed as RESOLVED FIXED as per comment 10?
Comment 12 Nemo 2013-10-13 12:04:39 UTC
http://laxstrom.name/blag/2013/09/18/insertables-in-translate-extension-make-translating-easier/ says GENDER, GRAMMAR and presumably all standard magic words are not covered yet. Should those be listed in separate bug report(s) or where else, and what about non-MediaWiki projects?
Comment 13 Niklas Laxström 2013-10-13 18:19:21 UTC
Feel Free to file New bugs for missing insertables if you think it will help to attract fixers for them. They are not going to make me add those any faster ;)
Comment 14 Nemo 2013-10-13 18:41:24 UTC
(In reply to comment #13)
> Feel Free to file New bugs for missing insertables if you think it will help
> to
> attract fixers for them. They are not going to make me add those any faster
> ;)

Ok, I take this as a "not on bugzilla". :) Will add them somewhere else.

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


Navigation
Links