XML Content Translator for SCADA 6

Forum Home Forums Development and Integration XML Content Translator for SCADA 6

Tagged: 

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #11194
    kumajaya
    Participant

    @Mikhail I can speak Japanese 😀

    A modified XML Content Translator for SCADA 6:
    https://drive.google.com/file/d/1gDzsxNPvpC2uhSiWt9Rwitm_eEcCA8JU/preview

    #11203
    kumajaya
    Participant

    Download XML Content Translator for SCADA 6:
    https://github.com/kumajaya/XmlContentTranslator/releases/download/1.11.1/XmlContentTranslator.zip

    …and be happy translate SCADA 6 to your own language!

    #11211
    kumajaya
    Participant
    #11218
    Mikhail
    Moderator

    Hi,
    Xml Content Translator may be quite useful to create automatic translations to many languages.

    What are the differences between source and modified Xml Content Translator?
    Do you know if this app uses external or internal engine for translation?
    Is it possible to translate, for example, ScadaWeb.en-GB.xml by a few clicks?

    #11220
    kumajaya
    Participant

    Hi, Xml Content Translator use Google translate API to automate translate base language to target language. Even the translation results not always perfect but quite useful to speed up translation task, we can manually review and edit the results directly on the application after. This app can track online base language and sync to our translation target locally, remove the missing content and add the new one. You can continue to update the base language as you need and I can start translate it right now.

    Original app show all Xml node attributes as translation base, not as we expected and can’t translate multi line words. That’s why a modification needed.

    #11221
    kumajaya
    Participant

    To support language auto detection, we need to add language information to xml base like this:

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <ScadaDictionaries name=”English”>
    <General>
    <Culture>en-GB</Culture>
    </General>
    <!– ScadaCommon.dll –>
    <Dictionary key=”Scada.Application”>
    <Phrase key=”ProductName”>Rapid SCADA</Phrase>
    <Phrase key=”ServerAppName”>Server</Phrase>
    <Phrase key=”CommAppName”>Communicator</Phrase>
    .
    .
    </ScadaDictionaries>

    #11222
    kumajaya
    Participant

    And you can make a statement, SCADA 6 will ready with almost perfect bahasa Indonesia user interface 😀

    #11223
    kumajaya
    Participant

    Unmodified vs modified Xml Content Translator:

    https://drive.google.com/file/d/11wvlILgn69QzILmo7sKf57SBgPt7KHc9/preview

    #11224
    kumajaya
    Participant

    Sorry, the correct one:

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <ScadaDictionaries name=”English”>
    <General>
    <CultureName>en-GB</CultureName>
    </General>
    <!– ScadaCommon.dll –>
    <Dictionary key=”Scada.Application”>
    <Phrase key=”ProductName”>Rapid SCADA</Phrase>
    <Phrase key=”ServerAppName”>Server</Phrase>
    <Phrase key=”CommAppName”>Communicator</Phrase>
    .
    .
    </ScadaDictionaries>

    #11234
    Mikhail
    Moderator

    > ScadaDictionaries name=”English”
    I’m not ready to add a new attribute in language files right now. May be it’s possible to use English source by default.

    > SCADA 6 will ready with almost perfect bahasa Indonesia user interface
    Cool! Have you used the latest files from GitHub?
    Would you pull the v6 translation to GutHub?

    #11235
    Mikhail
    Moderator

    Thanks a lot for the idea about XML Content Translator! We can create machine translations for the most popular languages. They can be used as a base for human translations.

    #11238
    kumajaya
    Participant

    My modified Xml Content Translator always sync to github for base language 😀 A complete SCADA 6 xml language raw url included. Yes, I’ll make a pull request for Indonesian language support.

    #11246
    Mikhail
    Moderator

    Yes, I’ll make a pull request for Indonesian language support.

    The pull request has been merged. Thank you! I also asked you for some changes in the pull request comments.

    Is it possible to use Xml Content Translator for update language files if phrases were added/changed/deleted?

    #11247
    kumajaya
    Participant

    Xct will remove no existence key, add a new key with a pink background cell (a mark for empty translation), but can’t detect content changes.

    #11354
    geffzhang
    Participant

    I’m doing a content translation for Chinese Simplified, thank you
    https://github.com/geffzhang/scada-v6/tree/ChineseSimplifiedLangPack/LangPack/ChineseSimplified

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