Closed
Bug 1180111
Opened 9 years ago
Closed 8 years ago
App description should be non-RTL property in Arabic view
Categories
(Marketplace Graveyard :: Consumer Pages, defect, P4)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: atiqueahmedziad, Unassigned)
Details
(Whiteboard: [read comment 2][marketplace-transition])
1. Go to- https://marketplace-dev.allizom.org?lang=ar 2. Go to any app details page 3. See the app description Actual Result: App description is in RTL Expected Result: As we don't translate the app description, so it should be non-RTL property.
Reporter | ||
Comment 1•9 years ago
|
||
Working on it :)
Assignee: nobody → softfilebd
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Not a trivial bug because the description *can* be translated by the developer - the frontend just does not know about it at the moment. We call the API with ?lang=ar, the API returns just a string for translated fields, without exposing which language it is in - It could be arabic, it could be the default language for the app. The API can return an object instead of a string, with all the languages, but it does not do it when 'lang' is passed, for performance reasons. What we could do is have the API return an object with just the translation we are interested in, but that's a backward-incompatible change, not to be made lightly. For an app that has "en-US" as its default language, and only french and english translations, it'd look like this: - No lang parameter (no change): "description": { "en-US": "description in en", "fr": "description in french" } - With lang=ar parameter (before proposed change, what we have now): "description": "description in en" - With lang=ar parameter (after proposed change): "description": { "en-US": "description in en" } Once we have this, the consumer pages could use the information in the template and the JavaScript code to figure out if it needs to add/remove rtl direction on the field.
Reporter | ||
Comment 3•9 years ago
|
||
Thanks for the inputs :)
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 4•9 years ago
|
||
Reopening on mstriemer's saying
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Reporter | ||
Updated•9 years ago
|
Status: REOPENED → NEW
Updated•9 years ago
|
Priority: -- → P4
Comment 6•9 years ago
|
||
(In reply to Mathieu Pillard [:mat] from comment #2) > What we could do is have the API return an object with just the translation > we are interested in, but that's a backward-incompatible change, not to be > made lightly. This sounds great
Comment 7•9 years ago
|
||
can i take this bug.
Comment 8•9 years ago
|
||
Sure Ayush, Assigning this to you.
Assignee: nobody → ayushagrawal288
Status: NEW → ASSIGNED
Whiteboard: [good first bug?]
Updated•9 years ago
|
Flags: needinfo?(softfilebd)
Comment 9•9 years ago
|
||
Please note that it's really not a good first bug. It involves making modifications to the API, and use those modifications in the frontend templates/js/css code.
Whiteboard: [good first bug?] → [read comment 2]
Reporter | ||
Comment 10•9 years ago
|
||
Ayush, are you still working on it ?
Flags: needinfo?(softfilebd) → needinfo?(ayushagrawal288)
Updated•9 years ago
|
Status: ASSIGNED → NEW
Flags: needinfo?(ayushagrawal288)
Updated•9 years ago
|
Assignee: ayushagrawal288 → nobody
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago → 8 years ago
Resolution: --- → WONTFIX
Whiteboard: [read comment 2] → [read comment 2][marketplace-transition]
You need to log in
before you can comment on or make changes to this bug.
Description
•