Allow localization of the placement of percent signs in the zoom box

Fixes #3837.