Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 641 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 641 Bytes

py-auto-translate

Python Module to make translation files for all application python files

Usage

./translate.py --log-level DEBUG --translate --compile --domain com.domain --path ./src

or in short

./translate.py -ll d -t -c -d com.domain -p ./src

Architecture

  graph TD;
    Path --> Translator;
    Translator --> File1;
    Translator --> File2;
    Translator --> File3;
    Translator --> ...;
    File1 --> Translate;
    File2 --> Translate;
    File3 --> Translate;
    ... --> Translate;
    Translate --> .po;
    Translate --> .pot;
    .po --> Compile;

    Compile --> .mo
    

Loading