Thread:User talk:Shirayuki/Help with translation

Hi could I have some help please to make Template:LSR and Template:LPR support translation because it wont work if the page has translation on but if it is off it works. I have added the code to Template:extension.