This PyQt application, "Database Analysis Tool," is designed for System Analysis. It allows users to select specific systems and perform data processing tasks related to system relationships and object interactions.
- System Selection: Choose from predefined systems for analysis.
- Data Processing Options: Select different types of data processing jobs related to system landscapes and object relationships.
- Internationalization: Support for English and Danish languages.
- Python 3.x
- PyQt6
-
Clone the repository (if applicable):
git [clone github.com/rolfmadsen/python_pyqt6_experiment] cd [python_pyqt6_experiment]
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install required packages:
pip install -r requirements.txt
Execute the main script to start the application:
python main.py
This application supports internationalization and is currently available in English and Danish.
To update translations:
-
Generate POT file:
xgettext --from-code=UTF-8 -d databaseanalysis -o locales/databaseanalysis.pot main.py
-
Create/Update PO files:
msginit -l da -o locales/da/LC_MESSAGES/databaseanalysis.po -i locales/databaseanalysis.pot msgmerge -U locales/da/LC_MESSAGES/databaseanalysis.po locales/databaseanalysis.pot
-
Compile PO files to MO files:
msgfmt locales/da/LC_MESSAGES/databaseanalysis.po -o locales/da/LC_MESSAGES/databaseanalysis.mo
Uncomment the line in main.py
to force the application to use the Danish locale:
os.environ['LANGUAGE'] = 'da_DK'
GPL-3.0 license