removing dependency on gettext