I asked you earlier if there was going to be a python 3 compatible version of dbgettext. I have now added the neccessary changes to the code, so that it will work in both python 2 and python 3. The changes I made should work from python 2.5 and upwards. I have tried not to change to much and make sure that it will still work in python 2.
I have tested the code in python 2.7.5 and python 3.3.4.