BarbarianTarkus / moodle_langer-script

This script reads a moodle lang file on english to translate it ready to be imported to your plugin to the desired language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

After translating the file this will be the folder structure

script_folder
├── lang # creates a lang directory similar to the moodle lang structure
│   └── es # Translation folder in this case on spanish
│       └── the_best_plugin.php
├── script.py # The script file
├── requirements.txt
└── translation_cache.json # If using machine translation the script will create a translation cache
                           # For economize API calls

Building

pyinstaller --onefile langer.py

About

This script reads a moodle lang file on english to translate it ready to be imported to your plugin to the desired language


Languages

Language:Python 100.0%