Open sshedmake opened 4 years ago
The string for Repeat Frequency
is dynamically generated and comes from RRule . After talking with @mabashian about it, we came up with a few possible solutions.
1 - Always show as an English.
2 - Custom translation issue - See: https://github.com/jakubroztocil/rrule/issues/13
3 - Hide the field Repeat Frequency
if the browser language is not English.
4 - Remove the field - Repeat Frequency
, since the info is already present with UI Occurrences
.
@trahman73 @wenottingham @sshedmake thoughts?
Some more information about this field: https://github.com/ansible/awx/issues/6173
Enhancement here would be to have this string translated (maybe we roll our own implementation of it?) but we plan on leaving that field for now.
Added @Spredzy here
ISSUE TYPE
SUMMARY
With Japanese (dummy translation) google-chrome, values for 'FrequencyDetailSubformRunEveryLabel' and 'DetailDetailName: Repeat Frequency', at 'Templates > JT > Schedules > {Edit and Schedule} Details' screen, appears in English (instead of Japanese)
ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Content should appear in Japanese
ACTUAL RESULTS
'weeks' | 'months'
'Every week on Monday, Wednesday, Friday for 5 times' | 'Every month on Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday until October 27, 2020'
ADDITIONAL INFORMATION
Run every 1 months:![output_months](https://user-images.githubusercontent.com/12151785/80513569-dfbf9680-899c-11ea-878e-5ea9c467cbc9.gif)
Run every 1 weeks:![output_weeks](https://user-images.githubusercontent.com/12151785/80513586-e51ce100-899c-11ea-85b0-220747a61e41.gif)