etnt / gettext

Erlang internationalization library.
http://www.redhoterlang.com/
MIT License
70 stars 45 forks source link

The use of GETTEXT_TMP_NAME is screwed up #11

Open richcarl opened 12 years ago

richcarl commented 12 years ago

In gettext_compile:parse_transform(), the environment variable GETTEXT_TMP_NAME is read, but is assigned to a variable called Gettext_App_Name which is then concatenated with "lang" and "epot.dets" in mk_epot_fname(). This seems very confused - it's probably some unfinished idea about separate directories for separate applications. Also, there seems to be no good reason for why a "temp" directory should be forced to be under ./lang.