标签: javascript html translation oracle-jet
我对locale动态设置index.html有疑问。我们在index.html文件中有一个硬编码的文本状态字符串。我们如何使用JET Translation Bundles在index.html文件中本地化字符串?
locale
index.html
JET Translation Bundles
答案 0 :(得分:0)
https://docs.oracle.com/middleware/jet112/jet/developer/GUID-F3E45F96-FAE2-4830-A2FA-16B3740B1A2D.htm#JETDG-GUID-C1DD4E38-34F8-48F8-A5A7-E4F793F65A69
定义适当的本地化字符串后,使用oj.Translations.getTranslatedString(key) 获取本地化字符串的方法。