Manual concatenation did not work, because locale name is not only language, but also country code. It looks like lang_COUNTRY and there are no translation files in phototonic that follow this scheme so it never worked right.
The overload of QTranslator::load takes care about these things. It checks for existence of files with lang code and without country code in their names.
Manual concatenation did not work, because locale name is not only language, but also country code. It looks like lang_COUNTRY and there are no translation files in phototonic that follow this scheme so it never worked right.
The overload of QTranslator::load takes care about these things. It checks for existence of files with lang code and without country code in their names.