Nick, you can get updates on function calls when local or any parameter used changes. See i18n.tr() and other functions also get updated when locale changes. You could have thing like i18n.trDate(date, format) which returns an object, which in turn can also have properties/functions so those can get updated whenever date, format or locale changes.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to telephony-service in Ubuntu. https://bugs.launchpad.net/bugs/1372061 Title: SMS notification: time format not translatable Status in the base for Ubuntu mobile products: In Progress Status in Ubuntu Translations: Triaged Status in telephony-service package in Ubuntu: Invalid Status in ubuntu-settings-components package in Ubuntu: In Progress Status in ubuntu-ui-toolkit package in Ubuntu: In Progress Status in unity8 package in Ubuntu: In Progress Status in ubuntu-settings-components package in Ubuntu RTM: Triaged Status in ubuntu-ui-toolkit package in Ubuntu RTM: New Status in unity8 package in Ubuntu RTM: Triaged Bug description: See the attached screenshot. The time for the notification seems to be hardcoded to "hh:mm - mm, d". This works well for the US, but it's not a format that is used in all other countries. In Spain, for example, the date would rather be "d mm". The time format needs to be marked for translation. Not sure from which project the notifications come from, for some reason I seem to remember they were moved to u-s-s, but if it's the wrong project/package, please reassign. Thanks! To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1372061/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp