network: fix gettext issue for global variables