This project is a sample script to show how to import 3rd party pip packages in a Laserfiche Python Rule script project.
Refer to the Deployment for details.
Create a new rule:
- Select the script rule type: Python
- Script location:
C:\Program Files\Laserfiche\Server\RemoteAgent\ScriptRunner\Python\lf-sample-python-script-rules\source\word_translator\launcher.py - Input:
- Sentence: the words to translate
- fr: translate to French
- Output:
- translated: the translated words
Providing sentence and language code to be translated, this script would translate the sentence.

Run the workflow and verify the script translate the sentence

