Skip to content

gmlucas/resourcemodel_study_01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enhance i18n resource models with recursive key references within translated texts

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!

https://blogs.sap.com/2023/08/23/enhance-i18n-resource-models-with-recursive-key-references-within-translated-texts-part-1/

Application Details

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

Starting the generated app

  • 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

Pre-requisites:

  1. Active NodeJS LTS (Long Term Support) version and associated supported NPM version. (See https://nodejs.org)