On Wed, Jul 1, 2009 at 2:40 PM, Peer
Sommerlund<peer.sommerl...@gmail.com> wrote:
>
>
> 2009/7/1 Steve Borho <st...@borho.org>
>>
>> Note to those of you working on the TortoiseHg translations.
>>
>> If you would like to have translated Explorer context menus, you need
>> to make a registry file for your locale.  Steps:
>>
>> 1.  Download
>> http://bitbucket.org/tortoisehg/stable/raw/tip/win32/thg-cmenu-en-US.reg
>> 2.  Rename this file to your locale
>> 3.  Do a string replace internally for your locale
>> 4.  Translate the menu names and their help texts
>> 5.  Test the file by double-clicking on it to install it in your
>> registry, then use it (no reboot required)
>> 6.  Email the finished file to this mailing list
>
> Maybe somebody could include the menu strings in a small python script that
> runs at installer build time and generates the .reg files?
> This way translators would automatically translate the strings (as all .py
> files are scanned for _("strings")), and nobody would have to generate reg
> files.

Indeed.  There's a lot of room for improvement in this process.  That
seems a valid approach.

--
Steve Borho

------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to