Difference between revisions of "Module:Template translation"

Jump to navigation Jump to search
m
no edit summary
en>Verdy p
m (support the uselang parameter)
en>Verdy p
m
Line 97: Line 97:
     -- Get the last subpage and check if it matches a known language code.
     -- Get the last subpage and check if it matches a known language code.
     local subpage = args['uselang'] or ''
     local subpage = args['uselang'] or ''
     if (subpage == '') then
     if (subpage == '')
    then
         subpage = this.getLanguageSubpage()
         subpage = this.getLanguageSubpage()
     end
     end
Anonymous user

Navigation menu