Giter VIP home page Giter VIP logo

gmlucas / resourcemodel_study_01 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 111 KB

Sample code to show how the UI5 ResourceModel can be used to help recursive translations.

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

JavaScript 74.24% CSS 0.14% HTML 25.62%
freestyle i18n recursion translation ui5

resourcemodel_study_01's Introduction

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)

resourcemodel_study_01's People

Contributors

gmlucas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.