Skip to content

Adding new Web languages

Damián Silvani edited this page Mar 28, 2020 · 1 revision

To add new Web or local languages to Flok's Web client, you should:

  • Add the new dependency on the web package:
cd packages/web
yarn add my-lang
  • Include the target of the language in the LOCAL_TARGETS constant in Session component

  • Add the corresponding evaluation routine in Session.evaluateLocalCode for your language. You need to insert a new case for the target of your language.