Since our shell context menus are going to be purely C++ based in 0.8, they will not be able to use the i18n framework we have built for the Python code. Since we are also running short on time, I've decided to make the context menu code simply try to read translated strings from the registry when the extension is first loaded.
We may not get proper cmenu translations into the 0.8 installer, but at least we should be able to offer *.reg files for various languages that users can load into their registry. I was thinking of using registry keys like: HKLU\Software\TortoiseHg\shellmenu\LANG\commit HKLU\Software\TortoiseHg\shellmenu\LANG\init HKLU\Software\TortoiseHg\shellmenu\LANG\clone ... Where each key would have two string values: * name - the translated menu name * help - the translated help text or description Then there would be the one key that selects the shell language: HKLU\Software\TortoiseHg\shellmenu\Language We can easily back-fill tools for these later. When I get the mechanism working, I'll post an example .reg file here to the list as a template for people to base their translations. -- Steve Borho ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

