maint: rewrite translation management scripts