Update latch.php for supporting localization of UI strings