Closed Bug 675253 Opened 14 years ago Closed 14 years ago

Localize KB Helpfulness Votes Chart labels

Categories

(support.mozilla.org :: Localization, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2011-08-09

People

(Reporter: scoobidiver, Assigned: tgavankar)

References

Details

The following labels are not localizable: From, To, Zoom, 1m, 3m, 6m, YTD, 1y, All, dates
Assignee: nobody → tgavankar
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2011-08-09
Verified in verbatim that these terms are now localizable: seconds, no votes data, error loading chart, helpfulness votes, votes. I could not find the specific terms Scoobidiver mentioned above- please re-open if those items aren't fixed as expected.
Status: RESOLVED → VERIFIED
(In reply to Rebecca Billings from comment #2) > Verified in verbatim that these terms are now localizable: seconds, no votes > data, error loading chart, helpfulness votes, votes. These terms were already localizable before this bug.
Status: VERIFIED → RESOLVED
Closed: 14 years ago14 years ago
The new translation terms I see in the commit are not displaying on the verbatim instance for testing: https://localize.mozilla.org/xx_testing/sumo/LC_MESSAGES/ Please add steps to verify.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I'm not sure how verbatim works - I just wrap all my l10n strings in a gettext(). r1cky mentioned that jsocol runs the gettext js extraction once a week - maybe it hasn't been run yet?
Right now verbatim does not display the next terms on my test link- and no one is familiar with verbatim. There are no alternate ways to verify. I'm marking as verified, but please re-open after the release on 8/9 if the terms do not become eligible for translation.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Helpfulness vote charts are no longer displayed in support.allizom.org (maybe a pref has been set to 0 or one single helpful vote is not enough), so I can't verify.
Status: VERIFIED → RESOLVED
Closed: 14 years ago14 years ago
There was a flag that had to be set - should be enabled on allizom now.
I filed bug 677018 for strings already localized.
The short month format and MM-DD-YYYY are not localizable. See: https://support.allizom.org/hu/kb/Priv%C3%A1t%20b%C3%B6ng%C3%A9sz%C3%A9s/history Date formats are already managed in the article history so why adding strings in Verbatim such as January, February,..., Monday, Tuesday...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Scoobidiver from comment #10) > Date formats are already managed in the article history so why adding > strings in Verbatim such as January, February,..., Monday, Tuesday... Because these are localized in JavaScript, not Python, and so don't have access to all the Python libraries and support for date l10n.
I believe the MM-DD-YYYY is hardcoded into highcharts, so it may not be possible to localize it at all. However, that only appears on clicking, and when it's not focused it reverts to a standard date string (which should get localized).
(In reply to Tanay Gavankar [:tgavankar] from comment #12) > However, that only appears on clicking, and when it's not focused it reverts > to a standard date string (which should get localized). It's an ISO 8601 date format that appears while clicking in one of the two date fields. I am OK with that. But selecting a day in the chart or unclicking the date fields make the today's date looks like: Aug 9, 2011 instead of 9 shortMonth 2011 or 9.8.2011 or 9/8/2011 or 2011.08.09 and so on depending on the locale.
(In reply to Scoobidiver from comment #13) > But selecting a day in the chart or unclicking the date fields make the > today's date looks like: Aug 9, 2011 instead of 9 shortMonth 2011 or > 9.8.2011 or 9/8/2011 or 2011.08.09 and so on depending on the locale. This is an open problem we haven't solved in JS yet. We have date formats available but no method yet to actually use them. I am not OK with holding this bug open for this--especially since highcharts may well not support internationalized date formats at this time. If this is the only thing holding this open, let's please close this and put it back in 08-09. If there are other issues, we can get them fixed for next week.
Target Milestone: 2011-08-09 → 2011-08-16
(In reply to James Socol [:jsocol, :james] from comment #14) > If there are other issues, we can get them fixed for next week. I was wrong about the short month format in comment 10 because in Hungarian, August is translated in Augusztus. Nevertheless, I see another problem about month: they are truncated to 3 letters so in some languages several truncated months can have the same abbreviations. If months are only used by their abbreviations in charts, it's better to use month abbreviation strings in Verbatim. Example in French: July is translated in "Juillet" but its abbreviation is "Jul", June is translated in "Juin" but its abbreviation is "Jun". See http://fr.wikipedia.org/wiki/Mois#Abr.C3.A9viations
(In reply to Scoobidiver from comment #15) > Nevertheless, I see another problem about month: they are truncated to 3 > letters so in some languages several truncated months can have the same > abbreviations. Let's file a follow-up to that. I don't know if we can change it or not. If that's the only thing still open here, let's leave this closed in 8/9, where the work was done.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Target Milestone: 2011-08-16 → 2011-08-09
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.