Menu

#2951 Installer: Set default language with MSI setup

Trunk
closed-fixed
nobody
Installer (111)
5
2010-06-17
2010-06-11
Tim Gerundt
No

The normal setup writes to HKLM\Software\Thingamahoochie\WinMerge\Locale\LanguageId the ID from the selected language.

This patch does the same for the MSI setup. The only different is, that we just write the system language ID to the registry. If WinMerge have no language with this ID, it will fall back to English! This is a little bit lazy but also the easiest way! ;-)

Greetings,
Tim

Discussion

  • Tim Gerundt

    Tim Gerundt - 2010-06-11

    patch file

     
  • Kimmo Varis

    Kimmo Varis - 2010-06-12

    The upside is that if we add new translation then people automatically get that new translation into use...

     
  • Tim Gerundt

    Tim Gerundt - 2010-06-13

    Is this really a big problem? The setup wrotes the LanguageId to HKLM and the user settings are under HKCU. WinMerge only copy the HKLM tree to HKCU if it first start under the user, right?

    So if the user change his language, nothing happens if we install a new WinMerge version. Only if he don't change the language in his HKCU keeps the system language ID. If a new WinMerge version includes now his system language this language will use automatically. But is that bad? :)

    But maybe the best would be, if WinMerge itself try to use the system language at the first start from the user. In this case it would be also work for user that use the ZIP and not the SETUP versions from WinMerge!?

     
  • Kimmo Varis

    Kimmo Varis - 2010-06-13

    My comment (upside) was meant as positive and approving comment, not negative. :)

     
  • Tim Gerundt

    Tim Gerundt - 2010-06-13

    Ok, "downside" would be the negative word. Sorry for the misunderstanding! ;-)

     
  • Tim Gerundt

    Tim Gerundt - 2010-06-17

    Committed to SVN (In Revision 7196)...

     
  • Tim Gerundt

    Tim Gerundt - 2010-06-17
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.