This sample application showcases a solution to extend the resource model in order to enable interesting manipulations of the translated text. The source code includes the basic technique of replacing the resource model and proposes a mechanism which allows the use of keys inside texts. The ResourceModel provided in this app can be used as a drop-in replacement for the original ResourceModel.
This is thought experiment and is not meant for production use!
Generation Date and Time Sat Aug 26 2023 11:37:56 GMT+0200 (Central European Summer Time) |
App Generator @sap/generator-fiori-freestyle |
App Generator Version 1.8.4 |
Generation Platform Visual Studio Code |
Template Used simple |
Service Type None |
Service URL N/A |
Module Name resourcemodelstudy |
Application Title Enhanced Resource Model |
Namespace com.sample |
UI5 Theme sap_horizon |
UI5 Version 1.117.0 |
Enable Code Assist Libraries False |
Enable TypeScript False |
Add Eslint configuration False |
- This app has been generated using the SAP Fiori tools - App Generator, as part of the SAP Fiori tools suite. In order to launch the generated app, simply run the following from the generated app root folder:
npm start
- Active NodeJS LTS (Long Term Support) version and associated supported NPM version. (See https://nodejs.org)