fixing gettext errors due to malformed string
adding french support