How to translate Windows Installer?
Tao Wang
dancefire at gmail.com
Fri May 7 03:51:24 EDT 2010
Today, I finally sucessfully build my win32 package, so I'm able to
verify my translation patch for Win32 installer, I found some problems
and fixed them.
Here is the new patch for Windows Installer of Simplified Chinese.
please commit to trunk.
BTW, "packaging/win32/gnucash.iss.in" contains different encoding
text, which is very bad during editing. If I use my locale such as
GB2312 to open it, and do some modification and save it, it's very
possible to make the text in other encoding changed in wrong way. It
is the limitation of old INNO setup. However, Inno support Unicode
now, and the file *.iss is able to use utf-8, which is much better for
a single file containing multiple languages. I suggest we should
upgrade to latest version of Inno setup and take the advantage.
And current version of Inno setup is not works perfectly under Windows
7/Vista system, sometimes, if you click "cancel", Win7 will say
something like "this program may not installed correctly,...". There
are several bugs about this fixed in the later release. So, upgrade to
new version should be better.
On Fri, Apr 30, 2010 at 12:12 AM, Tao Wang <dancefire at gmail.com> wrote:
> Hi,
>
> I finished the Simplified Chinese translation for GnuCash win32
> installer. I send you as attachment. Since I haven't done this before,
> could you double check my modification for me? And could you help me
> to commit to the trunk? Thanks.
>
> On Tue, Apr 27, 2010 at 4:03 PM, cri79 at libero.it <cri79 at libero.it> wrote:
>> 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
>>>
>>
>>
>>
>
>
>
> --
> Regards
>
> Tao Wang
>
--
Regards
Tao Wang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnucash_win32_installer_of_zh_CN.zip
Type: application/zip
Size: 7623 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20100507/133bd09d/attachment.zip>
More information about the gnucash-devel
mailing list