Skip to content

Repository files navigation

Language Translation Tutorial File

Getting Started

  • This file requires a DeepL API key (please see the Dependencies section of this README)
  • See the "01 Instructions" schematic pages of the design files for instructions on how to use this file
  • Schematic Page "02 Basic Translation" has two basic scripts
    • Single string translation takes a single string and translates it to the selected language
    • Simultaneous translation takes an array of string controls and translates them
  • Schematic Page "03 Help Desk" implements translation for bi-directional communication
    • Text from a user is translated and then displayed on a text box for a technician to see
    • Text from the technician is translated and then displayed on the user's text box
    • All button controls are translated to the selected language
    • Sent text is left as-is so that the user/technician can see exactly what they wrote
    • Selecting a new language re-translates all received text and button labels

Dependencies

  • Q-SYS Designer version 9.12 or greater
  • A DeepL API Key
    • You must sign up for DeepL account and create a subscription using a valid credit card
    • Paste your API key into the box labeled "API Key" on Schematic Page "02 Basic Translation"
    • Using pins, your API key will propagate to all of the other example scripts
    • This file will work with a free subscription (your card will not be charged)
    • Free accounts have a translation limit of 500,000 characters per month
    • If you hit your monthly max, your API key will stop functioning. You will not be charged for any overages

Help

If you have any questions or comments about this file, please go to developers.qsc.com

Author(s)

Version History

  • 1.0
    • Initial Release

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

Auto Translation Using the Deepl API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors