installer translation

Andreas Köhler andi5.py at gmx.net
Mon Jan 5 05:47:59 EST 2009


Hi Cristian,

I have applied your changes to trunk and branches/2.2 now and will check 
whether everything is set up correctly tomorrow or at the weekend.  It 
will surely be part of GnuCash 2.2.9.
Thanks a lot!

BTW, do you use Windows yourself?

Ciao,
-- andi5

Cristian Marchi schrieb:
> That was easy!
> I hope it works...otherwise let me know what I have to change.
> 
> Thanks for the help!
> Cristian
> 
> Christian Stimming ha scritto:
>> Am Freitag, 2. Januar 2009 08:15 schrieb Cristian Marchi:
>>  
>>> I would like to know if it's possible (and how) to translate the GnuCash
>>> windows installer in Italian.
>>>     
>>
>> Sure. All settings related to the language(s) in the installer are 
>> controlled through the file packaging/win32/gnucash.iss.in . During 
>> "make ; make install" time, the file gnucash.iss will be created from 
>> that iss.in file, which in turn will be used as input for the Inno 
>> Setup program that creates the installer.
>>
>> In particular, the following settings will have to be added:
>>
>> - For the built-in messages of the Installer, in section [Languages] 
>> (line 220), add a line
>> Name: "it" MessagesFile: "compiler:Languages\Italian.isl"
>>
>> - For the gnucash-specific messages in the Installer, copy&paste all 
>> lines in the [CustomMessages] section (line 232 and following) similar 
>> to the other languages: You will have to add one line beginning like 
>> "it.MessageNameFooBar" for each custom message and add your italian 
>> translation there.
>>
>> - One line has to be added for the CodePage in line 262, like so:
>> it.LanguageCodePage=1252
>>
>> - If you want to translate the "README" which is shown as last screen 
>> as well, you have to create a file like doc/README-de.win32-bin.txt 
>> but for "it", then add the appropriate installation rules in 
>> doc/Makefile.am, then add this file to the gnucash.iss.in line with 
>> the MessagesFile:"... Italian.isl", line 220, similar to the other 
>> languages.
>>
>> Thanks a lot in advance!
>>
>> Christian


More information about the gnucash-devel mailing list