Difference between revisions of "Module:Template translation"

m
no edit summary
>Verdy p
m (debugging subpage (currently not working))
>Verdy p
m
Line 6: Line 6:
     return subpage
     return subpage
end
end
 
function this.isKnownLanguage(frame)
    -- (this function isolated for debugging purpose)
    return mw.language.isKnownLanguageTag(frame.args['language'])
end
function this.renderTranslatedTemplate(frame)
function this.renderTranslatedTemplate(frame)
     --[[If on a translation subpage (like Foobar/de), this function renders
     --[[If on a translation subpage (like Foobar/de), this function renders
Anonymous user