make “loc” helper bound

loc helper can now accept bound values!

for example {{loc formatString value1 value2}}

closes GH-9851