l.t.u.template : module documentation

Part of lp.translations.utilities

Functions to help with translation templates.
Function make_domain Generate the translation domain name from the path of the template
Function make_name Make a template name from a translation domain.
Function make_name_from_path Make a template name from a file path.
def make_domain(path, default=''):
Generate the translation domain name from the path of the template file.
ReturnsThe translation domain name or an empty string if it could not be determined.
def make_name(domain):
Make a template name from a translation domain.
def make_name_from_path(path, default=''):
Make a template name from a file path.
API Documentation for Launchpad, generated by pydoctor at 2018-10-17 00:00:11.