[3.8] Fix #1668 Add gettext extension as system requirement