I am currently programming a GUI program with PyQt6. It should be multilingual.
Problem
How to structure language packs / files the best way?
Idea
CSV file
I could create a CSV file for every language. It has two columns; one for unique IDs and one for the content. The program gets the content by knowing the ID for every occurrence of text in the GUI.
ID | CONTENT |
---|---|
12345 | Welcome to the new program! |
32456 | Homepage |
64375 | Contact |
... | ... |
12345; Welcome to the new program!
32456; Homepage
64375; Contact
