I have a "locale" observable that is basically just a JS object that contains locale-specific strings. I also have a tabs observable array, which contains multiple properties, one of which is a title that is populated by a locale value.
e.g.
this.tabs = ko.observableArray([{
title: this.locale().tabs.one
}, {
title: this.locale().tabs.two
}]);
Here is a JSFiddle to demonstrate: http://jsfiddle.net/robgallen/v64p2/
I am trying to figure out the best strategy to get the tab titles to change when the locale observable is changed.
I have tried using knockout mapping but this doesn't seem to help. I have also tried adding a ko.observableArray.fn.refresh to update the data within the tabs array, but it simply uses the original tabs data, rather than referring back to the locale data.