Just a heads up and a request for help. In my spare time I've been hacking on a Python wrapper for libgettextpo using SWIG. This would allow us to access PO files at lightning C speeds and would eliminate the need to maintain our own PO files, allowing us to spend time more fruitfully elsewhere.
Status: It works. I can count PO files, it's about twice as fast as the pure Python method. I haven't looked at any of the converters, most of them crash :) Often due to things that still need to be implemented. Some tasks that I need help with: * I'm using SWIG to create the Python wrapper and have hit my head against a brick wall and my almost zero knowledge of C, and the chill I get down my spine when I see pointers is not helping. * Packaging the swig building and gcc compiling so that we can integrate it into the build system. I'm not a distutils expert. Issues: * Probably the biggest issue that will emerge from this work is a relook at how we handle PO files. Its seems that Gettext is pretty unforgiving, while we accept PO files that aren't quite correct it seems that libgettextpo won't. So we'd need to decide on how to handle that, a) fallback to Python, or b) change our expected behaviour. If anyone can help with these I'd appreciate it. -- Dwayne Bailey Translate.org.za +27-12-460-1095 (w) +27-83-443-7114 (cell) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
