"""Contructs an URI from slug and language code.
>>> WLURI.from_slug_and_lang('a-slug', WLURI.DEFAULT_LANGUAGE).uri
"""Contructs an URI from slug and language code.
>>> WLURI.from_slug_and_lang('a-slug', WLURI.DEFAULT_LANGUAGE).uri
def by_slug_and_lang(self, slug, lang=None):
fname = WLURI.from_slug_and_lang(slug, lang).filename_stem() + '.xml'
def by_slug_and_lang(self, slug, lang=None):
fname = WLURI.from_slug_and_lang(slug, lang).filename_stem() + '.xml'