pub fn bindtextdomain<T, U>(domainname: T, dirname: U) -> Result<PathBuf, Error>
Expand description
Specify the directory that contains MO files for the given domain.
Returns the current directory for given domain, after possibly changing it.
If you want to get domain directory, rather than set it, use getters::domain_directory
.
For more information, see bindtextdomain(3).
§Panics
Panics if domainname
or dirname
contain an internal 0 byte, as such values can’t be passed
to the underlying C API.