5. SAP UI5 Resource Model Apply
SAP UI5 Resource Model Apply (다국어 처리 - Translatable Texts) 이 단계에서는 UI5의 Data 처리를 위한 Model 중 하나 인 Resource Model을 활용하여 다국어를 적용하는 방법에 대해 살펴본다. (In this step, we will look at how to apply multiple languages using the Resource Model, one of the models for data processing in UI5.) 실행 결과(Results of this step) 실행 순서(Order of execution of this step): i18n property 파일 생성한다. (Create the i18n property file.) Controller에서 ResourceModel 선언 및 View에 할당한다. (The Controller assigns ResourceModel Declaration and View.) View에서 ResourceModel 연동한다. (In View, link ResourceModel.) 1. i18n property 파일 생성한다. (Create the i18n property file.) webapp/i18n/i18n.properties 파일 생성 및 코드 작성한다. 파일 이름은 사전에 약속된 Naming Rule로 정해져 있다. (Create and code the "webapp/i18n/i18n.properties file." The file name is set to the Naming Rule that was previously promised.) 1 2 showHelloButtonText=Say Hello helloMsg=Hello {0} 코드 해석(Code description) hel...