[Python] How can I change the language of a QFileDialog to French in a PySide6 project?

Discussão em 'Python' iniciado por Stack, Maio 1, 2025.

  1. Stack

    Stack Membro Participativo

    I'm working on a PySide6 project and I'm trying to change the interface language to French. While I've managed to translate most of my application, the QFileDialog widget stubbornly remains in English despite my attempts to configure QLocale and QTranslator. Here's what I've tried so far:

    • Setting the application locale with QLocale
    • Implementing QTranslator

    Can anyone suggest a working solution for translating QFileDialog in PySide6 to French? Thanks!

    Continue reading...

Compartilhe esta Página