This function wraps bindtextdomain on UNIX and wbintextdomain on Windows.
dir_name is expected to be in the encoding used by the C library on UNIX and UTF-8 on Windows.
| domain_name |
a gettext domain name |
| dir_name |
path of the catalog directory |