using this.context under the hood to transfer locales and formats to child components