Hi Carsten,
in such a case you can "read" the texts via the resource bundle from the model:
var oResourceBundle = this.getModel("i18n").getResourceBundle(); return oResourceBundle.getText("YES");
Just check SAPUI5 SDK - Demo Kit for further details.
Regards, Frank