<!DOCTYPE html>
<html>
   <head>
      <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
      <meta charset="UTF-8">
      <title>Walkthrough</title>
      <script
         id="sap-ui-bootstrap"
         src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
         data-sap-ui-theme="sap_bluecrystal"
         data-sap-ui-xx-bindingSyntax="complex"
         data-sap-ui-libs="sap.m"
         data-sap-ui-compatVersion="edge"
         data-sap-ui-preload="async"
         data-sap-ui-resourceroots='{
            "sap.ui.sample": "./"
         }' >
      </script>
      <script>
          
        sap.ui.getCore().attachInit(function () {
            sap.ui.xmlview({
               viewName : "sap.ui.sample.App"
            }).placeAt("content");
         });
      </script>
   </head>
   <body class="sapUiBody" id="content">
   </body>
</html>
This example shows how to use a ResourceBundle entry with parameters in an xml view.

You need to make use of composite binding and the predefined 'jQuery.sap.formatMessage' function

Here's some further reference http://veui5infra.dhcp.wdf.sap.corp:8080/demokit/#docs/api/symbols/jQuery.sap.html#.formatMessage

Another example for composite binding can be found in walkthrough step 21 https://sapui5.hana.ondemand.com/sdk/#docs/guide/dfe04650afc046e0802abb1a1a90d2d9.html
<mvc:View
   controllerName="sap.ui.sample.App"
   xmlns="sap.m"
   xmlns:l="sap.ui.layout"
   xmlns:core="sap.ui.core"
   xmlns:mvc="sap.ui.core.mvc">
  
   <Text text="{parts:[{path:'i18n>theyLiveIn'},{path:'person>/name'}, {path:'person>/city'}], formatter:'jQuery.sap.formatMessage'}" />
   
</mvc:View>
sap.ui.define([
   "sap/ui/core/mvc/Controller",
   "sap/ui/model/json/JSONModel",
   "sap/ui/model/resource/ResourceModel"
], function (Controller, JSONModel, ResourceModel) {
   "use strict";
   return Controller.extend("sap.ui.sample.App", {
      onInit : function () {
        
        // set i18n model on view
        var i18nModel = new ResourceModel({
          bundleName: "sap.ui.sample.i18n"
        });
        this.getView().setModel(i18nModel, "i18n");
     
        
        var oPersonData = { name: "Andrew", city: "Walldorf"};
        this.getView().setModel(new JSONModel(oPersonData), 'person');
      },
      
     
      

   });
});
theyLiveIn={0} lives in {1}