R: How to translate Windows Installer?

cri79 at libero.it cri79 at libero.it
Tue Apr 27 02:03:09 EDT 2010


Below there are the directions from Christian Stimming that I received when I 
wanted to do the same thing for Italian (I hope that they are still valid: 
developer please confirm):

>>> 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.

Regards
Cristian


>----Messaggio originale----
>Da: dancefire at gmail.com
>Data: 26/04/2010 22.40
>A: <gnucash-devel at gnucash.org>
>Ogg: How to translate Windows Installer?
>
>Hi,
>
>I almost finished my po translation, and I want to translate the
>Windows installer to support zh_CN. Could you tell me how to do the
>translation for Windows Installer? Thanks.
>
>-- 
>Regards
>
>Tao Wang
>_______________________________________________
>gnucash-devel mailing list
>gnucash-devel at gnucash.org
>https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>




More information about the gnucash-devel mailing list