Bug 1397867 - [ja-JP] Red Hat Insights - overview - planner has untranslated entries
Summary: [ja-JP] Red Hat Insights - overview - planner has untranslated entries
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hybrid Cloud Console (console.redhat.com)
Classification: Red Hat
Component: [Legacy] Insights Web UI
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jaylin Zhou
QA Contact: Krishna Babu K
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 13:40 UTC by Krishna Babu K
Modified: 2017-03-06 23:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-06 23:31:48 UTC
Target Upstream Version:


Attachments (Terms of Use)
planner->notscheduled->addaction (162.53 KB, image/png)
2016-11-23 13:40 UTC, Krishna Babu K
no flags Details
planner->notscheduled->addsystem (159.46 KB, image/png)
2016-11-23 13:40 UTC, Krishna Babu K
no flags Details
ja-JP translation for TimeAgo library (532 bytes, text/plain)
2016-11-28 04:40 UTC, Michelle Kim
no flags Details
Updated ja_JP file for TimeAgo library. Please use this one (532 bytes, text/plain)
2016-11-28 05:07 UTC, Michelle Kim
no flags Details

Description Krishna Babu K 2016-11-23 13:40:04 UTC
Created attachment 1223242 [details]
planner->notscheduled->addaction

Description of problem:
 Planner tabs and plan frame has untranslated entries.

Version-Release number of selected component (if applicable):
Insightsbeta

How reproducible:
Always

Steps to Reproduce:
1. Log into https://access.redhat.com/insightsbeta/overview/ with ja-JP locale.
2. Click on 'Planner' on left pane, tabs 'PAST', 'NOT SCHEDULED' and 'FUTURE' not translated.
3. Click on 'NOT SCHEDULED' tab and expand any plan.
   'Actions' tab name not translated.
   'Systems' tab name not translated.
   'Add action' and 'Add system' not translated.
   Static strings 'Actions resolved' and 'days ago' not translated.

Actual results:
Translation not available

Expected results:
Translations should present

Additional info:
Screen shot references attached.

Comment 1 Krishna Babu K 2016-11-23 13:40:49 UTC
Created attachment 1223243 [details]
planner->notscheduled->addsystem

Comment 2 Dong Zhao 2016-11-24 01:33:38 UTC
I am handing over all L10N/I18N things to Jaylin (zzhou@).

Comment 3 Jozef Hartinger 2016-11-24 08:16:20 UTC
I fixed most of these here: http://labs-git.usersys.redhat.com/labs/insights/commit/f38224b5b24a23af6cf05c723e787b7794b6b92f

Let me know if there are some keys still missing.

The only string I cannot fix is 'days ago' because that one does not come from the Insights web app but is generated by a time library that we use (timeAgo). That library does not currently support ja-JP.

Would it be possible for anyone to contribute the ja-JP translation? The library is pretty minimalistic so it should be quite easy. See an example here: https://github.com/yaru22/angular-timeago/tree/master/src/languages

Comment 4 Krishna Babu K 2016-11-24 08:40:40 UTC
Hi Jozef, i have added kmoriguc to cc list and asking Michelle Kim for the input regarding your query.

Hi Michelle, could you please provide your input about the feasibility of ja-JP support mentioned in Comment 3.

Thanks,
krishna.

Comment 5 Michelle Kim 2016-11-28 01:20:25 UTC
Hi Krishna and Jozef,

I will check with my team if we can contribute Ja translation for the time library. Will get back to you shortly once done.

Comment 6 Michelle Kim 2016-11-28 04:39:25 UTC
Hi Jozef,
Our translator helped translating the file, but not aware how to contribute the file back to the project, so I decided to attach the translated file here if you could help passing it to the timeAgo maintainer.

Hope this will help resolving this bug.
Thanks,
Michelle

Comment 7 Michelle Kim 2016-11-28 04:40:24 UTC
Created attachment 1225101 [details]
ja-JP translation for TimeAgo library

ja-JP translation for TimeAgo library

Comment 8 Michelle Kim 2016-11-28 05:07:18 UTC
Adding new attachment as previous file had TimeAgoSettings.strings['en_US'] so new one has replaced en_US with ja_JP

Comment 9 Michelle Kim 2016-11-28 05:07:56 UTC
Created attachment 1225102 [details]
Updated ja_JP file for TimeAgo library. Please use this one

Comment 10 Jozef Hartinger 2016-11-28 10:19:46 UTC
Michelle, Krishna,

that's awesome! I am going to send the contribution to timeAgo library maintainers. For proper attribution, who should I specify as the author?

Comment 12 Michelle Kim 2017-01-10 05:00:14 UTC
Hi Jozef,
Apologies for late reply as I was on leave. The author (translator) is Kenzo Moriguchi kmoriguc

Thanks, Michelle

Comment 13 Krishna Babu K 2017-01-13 10:37:04 UTC
Verified on https://access.redhat.com/insightsbeta/planner/5825 , can not reproduce now.


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