Closed
Bug 462500
Opened 17 years ago
Closed 16 years ago
value, alt, and title values won't be translated when interactive translation is on
Categories
(support.mozilla.org :: Localization, task)
support.mozilla.org
Localization
Tracking
(Not tracked)
VERIFIED
FIXED
0.9.5
People
(Reporter: djst, Assigned: ecooper)
References
()
Details
(Whiteboard: tiki_bug, tiki_upstreamed)
Attachments
(3 files)
As the attached screenshot is showing, the string "Edit language table" is actually already translated into fy-NL as "Bewurkje taaltabel", but the button still says "Edit language table".
In other words, the string for that button text is not being localized for some reason. There are other examples of this, e.g. buttons for "Add", "Search", etc. All on that same page.
Updated•17 years ago
|
Target Milestone: 0.8 → 0.9
Updated•17 years ago
|
Target Milestone: 0.9 → 1.0
| Assignee | ||
Comment 1•16 years ago
|
||
It seems like this only occurs on buttons when the interactive UI translation mode is on.
| Assignee | ||
Comment 2•16 years ago
|
||
After a bit of investigation, I found that strings inside alt, title, or value attributes (<input type="submit" value="{tr}Save{/tr}"/>) won't be translated unless interactive param is used in the tr block when the interactive translation mode is on.
We should be able to fix this with some sed magic.
Summary: Some localized strings aren't used in the templates → value, alt, and title values won't be translated when interactive translation is on
| Assignee | ||
Comment 3•16 years ago
|
||
I should emphasize that this only occurs when interactive translation mode is on, and is typically only visible on buttons.
| Assignee | ||
Comment 4•16 years ago
|
||
This will only "fix" buttons. alt and title attributes will remain untranslated for the time being as a different approach needs to be taken with them...most likely changing the {tr} blocks in the templates.
Attachment #367437 -
Flags: review?(laura)
Updated•16 years ago
|
Attachment #367437 -
Flags: review?(laura) → review+
| Assignee | ||
Comment 5•16 years ago
|
||
r23472/r23473
It can be verified using David's example, or visiting any page with 'submit buttons' while interactive translation mode is on.
We should make extra sure no regressions are caused by this. Thankfully, I haven't seen any locally.
| Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 6•16 years ago
|
||
This verifies it, no?
Comment 7•16 years ago
|
||
Oh, and URL I used was https://support-stage.mozilla.org/tiki-edit_languages.php?locale=fy-NL, because URLs to reproduce and verify bugs are immensely helpful :-)
Updated•16 years ago
|
Whiteboard: tiki_bug
Comment 9•16 years ago
|
||
Value was already resolved, added title and alt.
Whiteboard: tiki_bug → tiki_bug, tiki_upstreamed
You need to log in
before you can comment on or make changes to this bug.
Description
•