Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Multilingual support for plugin

Planned

Comments

3 comments

  • Ichiro
    • Network Optix team

    Hi Phạm Quang Đăng

    Developers can build multi-language (i18n) plugins for Nx. However, the scope is inside your plugin only.

    That said, in the current desktop client architecture, there might have had no mechanism for passing locale information between the 3rd-party plugin and the desktop client, so a plugin currently can't automatically follow the desktop client's language setting. This was raised and but there's been no implemetation it so far.

    In the meantime, the workaround is for developers to add a language selector inside the plugin itself, letting users choose their preferred language directly. (inside your plugin and the interface that generates by your plugins)

    0
  • Phạm Quang Đăng

    Thank you for replying, Ichiro. Actually i am doing exactly what you are telling while waiting for answer. It is a bit tricky to get the manifest strings to work without breaking the model. Thank you for giving advices

    0
  • Phạm Quang Đăng

    i forgot to mention, i managed to put the language selector in engine settings and update texts that are visible to the user in engineSettingsModel and deviceAgentSettingsModel. The only downside is it can break how Advanced Object Search finds and/or loads detected objects in Nx since the field “name” and “attribute” in typeLibrary and supportedTypes also changes, which may not following the attribute and manifest guidelines. Integration manifest can not change language due to the nature of how a plugin was initialized.

    1

Please sign in to leave a comment.