[Solved] Is there a way to change the default language for installer framework?


  • Moderators

    I do not want to use the OS default language for the installer framework. I prefer to start always in English. How can I change this?


  • Lifetime Qt Champion

    Hi,

    Unless I'm mistaken, it's described at the bottom of the page here

    Hope it helps


  • Moderators

    @SGaist

    Yes, you are right. Was not really obvious to me.

    Here is an updated version of the config.xml of the online example of installer framework

    <?xml version="1.0" encoding="UTF-8"?>
    <Installer>
        <Name>Online Installer Example</Name>
        <Version>1.0.0</Version>
        <Title>Online Installer Example</Title>
        <Publisher>The Qt Company</Publisher>
        <!-- Directory name is used in component.xml -->
        <StartMenuDir>Qt IFW Examples</StartMenuDir>
        <TargetDir>@HomeDir@/IfwExamples/online</TargetDir>
        <!-- Change required to have English as startup language e.g. when you have an OS with German as standard language  -->
        <Translations>
            <Translation>en.qm</Translation>
        </Translations>
        <!-- End of change for translation -->
        <RemoteRepositories>
            <Repository>
                <Url>http://localhost/repository</Url>
            </Repository>
        </RemoteRepositories>
    </Installer>
    

    The installer starts then with all text in English. Tested on Windows 7 64bit with German as local language.



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.