Page MenuHomePhabricator

[TUX] Editor does not handle restricted languages properly
Closed, DuplicatePublic

Description

  1. Make part for translation with forced restricted languages
  2. Open page in some other language for translation (or use the url)
  3. Open a message and do a translation

Observed: The editor allows you to do a translation
Observed: The "Saving..." gets stuck

Expected: The save button cannot be used
Expected: Handling like "{"error":{"code":"unknownerror","info":"Unknown error: \"tpt-translation-restricted\""}}" is detected and indicated in the normal ways in the UI.


Version: master
Severity: normal
Whiteboard: leteam?
URL: https://dev.translatewiki.net/w/i.php?title=Special:Translate&group=page-Ugwaeg&filter=%21translated&action=translate&language=ru
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=59715
https://bugzilla.wikimedia.org/show_bug.cgi?id=48773
https://bugzilla.wikimedia.org/show_bug.cgi?id=67189

Details

Reference
bz48804

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:30 AM
bzimport set Reference to bz48804.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 47988 has been marked as a duplicate of this bug. ***

Actually, to me, translating anything in Serbian doesn't really work. I use Serbian interface. Going to https://translatewiki.net/wiki/Translating:MediaWiki and clicking on "Преведите овај пројекат" (Translate this project) leads to https://translatewiki.net/w/i.php?title=Special:Translate&group=core which says "This language code should remain unused. Localise in sr-ec please.". If I try to change the language I can choose Serbian under "Аутоматски изабрани језици" (Automatically selected languages) but it just goes to https://translatewiki.net/w/i.php?title=Special:Translate&group=core&language=sr with the same error message. If I try typing in the language name, as soon as I type "srp" or "срп" I get only Srpskohrvatski (Serbocroatian). I can only translate if I manually go to https://translatewiki.net/w/i.php?title=Special:Translate&group=core&language=sr-ec

(In reply to Nikola Smolenski from comment #3)

If I try
typing in the language name, as soon as I type "srp" or "срп" I get only
Srpskohrvatski (Serbocroatian). I can only translate if I manually go to
https://translatewiki.net/w/i.php?title=Special:
Translate&group=core&language=sr-ec

That's a more general problem, for instance Josh Lim just told me that because "tg" is "fil" in CLDR one gets redirected to "fil" by the language selector even though it can't be used: I didn't test though, there is probably another report for that.

  • Bug 54627 has been marked as a duplicate of this bug. ***
Nikerabbit lowered the priority of this task from High to Lowest.Jan 28 2015, 5:07 AM
Nikerabbit moved this task from Backlog to tux on the MediaWiki-extensions-Translate board.
Nikerabbit raised the priority of this task from Lowest to High.Jan 28 2015, 5:46 AM