PDA

View Full Version : QTreeView with QDirModel supporting different languages



cesroc
12th September 2014, 17:09
Hi, I have a QDirModel showing the computer filesystem in a QTreeView, everything is working fine, but I would like to know if it is possible to support different languages.
For example, when I run my application, the QTreeView shows my filesystem and the folder calls "Users", because it uses English language. Is it possible to support other languages and not showing always in English?
My computer is in German, as an example I would like that in my computer shows "Benutzer" and when I run the software in an English computer shows "Users".
How can I set the language? Is there a way for that?

Thanks in advance.
Best Regards.