Textdomains
I've extracted this patch from Hiroshi Inoues patch about bug #4186. Per
his comment, "It also includes the changes to mbutils.c and elog.c which
fix recently introduced bug by the domain name change from "postgres" to
"postgres-8.4"."
Can somebody who actually knows how that works comment on it, please :-)
//Magnus
Attachments:
txt_domains.patchtext/x-diff; name=txt_domains.patchDownload+2-2
Magnus Hagander wrote:
I've extracted this patch from Hiroshi Inoues patch about bug #4186. Per
his comment, "It also includes the changes to mbutils.c and elog.c which
fix recently introduced bug by the domain name change from "postgres" to
"postgres-8.4"."Can somebody who actually knows how that works comment on it, please :-)
It looks correct.
Note, however, that we now support translation of loaded modules, so you
would really need to go around and call bind_textdomain_codeset() for
all catalogs that pop up dynamically. So that part might need some more
work.
Peter Eisentraut wrote:
Magnus Hagander wrote:
I've extracted this patch from Hiroshi Inoues patch about bug #4186. Per
his comment, "It also includes the changes to mbutils.c and elog.c which
fix recently introduced bug by the domain name change from "postgres" to
"postgres-8.4"."Can somebody who actually knows how that works comment on it, please :-)
It looks correct.
Ok, will apply.
Note, however, that we now support translation of loaded modules, so you
would really need to go around and call bind_textdomain_codeset() for
all catalogs that pop up dynamically. So that part might need some more
work.
Well, this is a bugfix for existing stuff... Adding new stuff I'll
happily leave to someone who understands it better.. :-P
//Magnus