Multi language support

Forum Home Forums Development and Integration Multi language support

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #17864
    Zeus
    Participant

    Hello, I’ve encountered a new requirement. I’d like to implement dynamic language switching on SCADAweb, covering menus, the user interface, and the content within mimic pages. Do you have any suggestions? I’ve already tried analyzing it with Cursor and have a preliminary approach, but it involves extensive modifications, making it difficult to keep up with the main development branch going forward.

    #17868
    Mikhail
    Moderator

    Hello,

    Let’s specify the requirement more precisely.

    Do you mean to implement an option that lets a user to select a language individually?

    How it should work for mimics?

    #17869
    Mikhail
    Moderator

    What are the use-cases? Do you mean an implementation when users from different countries connect to the same Rapid SCADA instance?

    #17871
    Zeus
    Participant

    Hello,
    Thank you for the clarification. Let me specify the requirements based on your questions:
    1. User Interface:
    Yes, we need a language selection dropdown menu on the SCADA Web interface (e.g., in the top navigation bar). This allows users to switch between different languages instantly.
    2. Mimic Pages & Use Cases:
    Our use case involves users from different countries connecting to the same Rapid SCADA instance. Therefore, the system needs to support displaying content in different languages based on the user’s selection.
    3. Implementation Preference:
    Ideal Solution: We prefer a fully dynamic approach. The language should switch immediately on the client side without requiring a page reload or manual updates in the Admin panel. This would apply to menus, UI labels, and text within the mimic pages.
    Alternative Solution: We understand that dynamic translation for mimic pages might be technically complex. If the ideal solution is too difficult to implement, we are willing to accept a configuration-based approach. In this scenario, we could configure multi-language text for mimics and menus in the Admin tool, and the changes would take effect after uploading/publishing.
    Could you please advise if the dynamic approach is feasible, or should we proceed with the alternative configuration method?
    Best regards,

    #17873
    manjey73
    Participant

    I’m also in favor of a dynamic approach. Maybe there is some way to teach Mimic to work with language files located in the lang folder? and by choosing the right language, would the mnemonic scheme change the labels in the appropriate languages?

    #17877
    Mikhail
    Moderator

    Hello,

    1. This is technically possible. However it requires a lot of work, because all web forms will be affected. Currently, only one culture is loaded when the web app start. A new mechanism for loading multiple languages should be developed.

    Since ASP Razor Pages renders pages on the server side, switching language will require page reload.

    #17878
    Mikhail
    Moderator

    2. This is complex. Possible approach is storing a string table as a mimic dependency. It is also requires more work made by an engineer who create a mimic.

    The economic feasibility of this work is unclear. There are many tasks that seem to be a higher priority for implementation.

    #17881
    Mikhail
    Moderator

    Maybe it should be a component that translates others.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.