avoid unbounded strlen in gettext functions