Difference between revisions of "Module:Template translation"
renderTranslatedTemplate now works for parameterless templates. Investigating to make parameters work
>Guillom (default to English to avoid showing the <translate> tags) |
>Guillom (renderTranslatedTemplate now works for parameterless templates. Investigating to make parameters work) |
||
Line 32: | Line 32: | ||
return frame:expandTemplate{ title = template..langcode, args = frame.args } | return frame:expandTemplate{ title = template..langcode, args = frame.args } | ||
end | |||
function p.debug(frame) | |||
return tostring(frame.args) | |||
end | end | ||
return p | return p |