Yeah, trust me, I scoured the Internet before posing the question on this list. The issue is that our current i18n system seems to be geared toward integration with autotools and GNU Make. I can't simply call Unix commands from CMake, because that wouldn't work in Visual Studio.
The current i18n system, gettext, should work fine with any build system, even though it is probably most often used with Autotools.
msgcat, msgmerge etc are not Unix commands - they are gettext commands. If you want to build on Windows with gettext support, you need to have gettext installed, and call the appropriate commands from whatever build system you are using. It seems there are some basic information at http://www.gnu.org/software/gettext/FAQ.html#windows_howto about this. The rest should be in the gettext manual.
If I understood how the existing system worked, I might be able to figure out how to port it. For instance, where did po/Makefile.in.in come from? Did someone write that by hand?
No, its from gettext. On my Fedora 13 machine, the file can be found as /usr/share/gettext/po/Makefile.in.in. It is owned by the gettext-0.18.1.1 package. If I rembember correctly, it is copied to the project directory when you run gettextize.
Rgds, Peter
On 10/26/10 4:28 AM, Peter Åstrand wrote:The current build system uses gettext. The make files (although difficult to read) should be "standard", generated by gettext. After all, gettext is the most common system for I18N in UNIX. I would be surprised if it's not possible to use gettext with CMake. Check out: http://search.gmane.org/?query=gettext&group=gmane.comp.programming.tools.cmake.user There are quite a few emails on the subject there.------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel
--- Peter Åstrand ThinLinc Chief Developer Cendio AB http://www.cendio.com Wallenbergs gata 4 583 30 Linköping Phone: +46-13-21 46 00
------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel