自定义本地化install4j

发布于 2025-01-23 14:49:21 字数 708 浏览 1 评论 0原文

我们正在尝试在更新过程中向用户显示的自定义消息构建。为此,我们尝试

  1. 使用已经存在的密钥 - >这有效。
  2. 在单独的.utf8文件 - >中具有自定义键/值对。这无法正常工作,如下图所示。

.install4j目录的内容

​Schritt wird dasinstallationsprogrammfürdie aktualisierung heruntergeladen。 Es Wird Empfohlen,Mit der安装DES UPDATERS FORTZUFAHREN,DAEINEältere版本des clientsmöglicherweisenicht nicht Mit Den neusteneingeführtenfunktionen kompatibel ist。

更新者未反映内容

​还有其他需要照顾的配置吗?

We are trying to build in Custom messages that would be shown to the User during the update process. To this end we have tried two approaches

  1. Override message with an already existing key -> This works.
  2. Have a Custom key/value pair in a separate .utf8 file -> This does not work as shown in the pictires below.

Contents of .install4j directory

enter image description here

i4jparams.conf

Contents of i4j_extf_1_rn3phc.utf8

updater.DownloadLocationLabel.Custom=Im nächsten Schritt wird das Installationsprogramm für die Aktualisierung heruntergeladen. Es wird empfohlen, mit der Installation des Updaters fortzufahren, da eine ältere Version des Clients möglicherweise nicht mit den neusten eingeführten Funktionen kompatibel ist.

Updater where the contents are not reflected

enter image description here

I would expect my Custom Key/Value pair to be picked up. Is there any other configurations that need to be taken care of?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吃兔兔 2025-01-30 14:49:21

您只是弄错了文本字段语法,应该是

${i18n:updater.DownloadLocationLabel.Custom}

You just got the text field syntax wrong, it should be

${i18n:updater.DownloadLocationLabel.Custom}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文