diff --git a/win32/hexchat.props b/win32/hexchat.props
index 39c017d5..f94e9202 100644
--- a/win32/hexchat.props
+++ b/win32/hexchat.props
@@ -5,6 +5,7 @@
c:\mozilla-build\hexchat\build
c:\mozilla-build\gendef
+ c:\mozilla-build\msgfmt
c:\mozilla-build\tcl-8.5
c:\mozilla-build\perl-5.12
c:\mozilla-build\perl-5.14
@@ -14,6 +15,7 @@
G_DISABLE_CAST_CHECKS;G_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;GDK_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline;
$(YourDepsPath)\$(PlatformName)
$(YourGendefPath)
+ $(YourMsgfmtPath)
lua51
hclua
$(YourTclPath)\$(PlatformName)
diff --git a/win32/nls/nls.vcxproj b/win32/nls/nls.vcxproj
index 6af798eb..3d0315bf 100644
--- a/win32/nls/nls.vcxproj
+++ b/win32/nls/nls.vcxproj
@@ -67,7 +67,7 @@ rmdir /q /s "$(OutDir)\locale"
mkdir "$(OutDir)\locale"
for %%A in (*.po) do (
mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES"
-"$(DepsRoot)\bin\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\hexchat.mo" %%A
+"$(MsgfmtPath)\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\hexchat.mo" %%A
)
@@ -89,7 +89,7 @@ rmdir /q /s "$(OutDir)\locale"
mkdir "$(OutDir)\locale"
for %%A in (*.po) do (
mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES"
-"$(DepsRoot)\bin\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\hexchat.mo" %%A
+"$(MsgfmtPath)\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\hexchat.mo" %%A
)