Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you export a view with a numeric field and added plural forms then these strings aren't added to the translations array. They are translatable though. Attached patch solves this.
Comment | File | Size | Author |
---|---|---|---|
#2 | numeric_field_doesn_t-2608324-2.patch | 1005 bytes | Johnny vd Laar |
Comments
Comment #2
Johnny vd Laar CreditAttribution: Johnny vd Laar at ezCompany commentedComment #3
Johnny vd Laar CreditAttribution: Johnny vd Laar at ezCompany commentedComment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 3 year old patch in #2 to views_handler_field_numeric.inc applied cleanly to the latest views 7.x-3.x-dev and if still relevant needs to be reviewed.
Comment #5
renatogYeah, I applied Johnny's patch on #2, it really makes sense and worked well adding this to translate. Thank you so much for your contribution @johnny-vd-laar. Good catch
Comment #7
renatogMoved to the dev branch. Thank you so much. Have a great day and good work