Translation of application

84 Views Asked by At

I'm creating a dictionary app, that downloads a translated page (from an online dictionary) and searches for translations. I have trouble with making a translated interface. I've made sepatate files, for exemple string-en.hpp, or string.fr.hpp. I also have a configuration file lang in a hidden directory in home folder (for now it could be ~/.dictionary/lang). I don't know how to define (or include) for exemple #define langEN (or #include "string-en.hpp") depending on content of ~/.dictionary/lang.

That application is written for Linux, without any graphic library.

How to do that?

0

There are 0 best solutions below