Module GettextDomain


module GettextDomain: sig .. end
Signature of module for domain management.
Author(s): Sylvain Le Gall


compute_path textdomain category t : return the path to the mo file corresponding to textdomain and category. Language is guessed from category binding. If the textdomain is not found, it tries to use the build default to find the file. The file returned exists and is readable. If such a file doesn't exists an exception DomainFileDoesntExist is thrown. If the function is unable to guess the current language an exception DomainLanguageNotSet is thrown.
val make_filename : string ->
string -> GettextCategory.category -> string -> FilePath.DefaultPath.filename
val find : GettextTypes.t ->
GettextTypes.dir list ->
GettextCategory.category ->
GettextTypes.MapTextdomain.key -> FilePath.DefaultPath.filename