Add support for replacing translatable strings with boxes

Just a hack to easily visually see which strings are not localized.

Test Plan:
- define window.translateToBoxes, checkout localized strings, they
  should appear as a box per character.