diff --git a/aegisub/packages/osx_bundle/Contents/Info.plist b/aegisub/packages/osx_bundle/Contents/Info.plist
index b95c1340b..e96819499 100644
--- a/aegisub/packages/osx_bundle/Contents/Info.plist
+++ b/aegisub/packages/osx_bundle/Contents/Info.plist
@@ -52,18 +52,7 @@
CFBundleLocalizations
- ca
- da
- de
- en
- es
- fr_FR
- hu
- it
- ko
- ru
- pt_BR
- zh_TW
+ @LOCALIZATIONS@
diff --git a/aegisub/tools/osx-bundle.sed.in b/aegisub/tools/osx-bundle.sed.in
index bc3cc21e8..a7942b0a0 100644
--- a/aegisub/tools/osx-bundle.sed.in
+++ b/aegisub/tools/osx-bundle.sed.in
@@ -3,3 +3,7 @@ s/@PLIST_SVN_REVISION@/@SVN_REVISION@/g
s/@PLIST_BUILD_DATE@/@BUILD_DATE@/g
s/@PKG_DMG_STRING@/@DMG_STRING@/
s/@PKG_BUNDLE_STRING@/@BUNDLE_STRING@/
+/ \+@LOCALIZATIONS@/ {
+ r languages
+ d
+}
diff --git a/aegisub/tools/osx-bundle.sh b/aegisub/tools/osx-bundle.sh
index fde9d68f1..b5fbe8bc9 100755
--- a/aegisub/tools/osx-bundle.sh
+++ b/aegisub/tools/osx-bundle.sh
@@ -43,6 +43,8 @@ if ! test -f "tools/osx-bundle.sed"; then
exit 1
fi
+find po -name *.po | sed 's/.*\/\(.*\)\.po/ \1<\/string>/' > languages
+
find ${SKEL_DIR} -type f -not -regex ".*.svn.*"
cp ${SKEL_DIR}/Contents/Resources/*.icns "${PKG_DIR}/Contents/Resources"
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.dtd "${PKG_DIR}/Contents/Resources/etc/fonts"
@@ -50,6 +52,7 @@ cat ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.conf |sed -f tools/osx-bundle
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/conf.d/*.conf "${PKG_DIR}/Contents/Resources/etc/fonts/conf.d"
cat ${SKEL_DIR}/Contents/Info.plist |sed -f tools/osx-bundle.sed > "${PKG_DIR}/Contents/Info.plist"
+rm languages
echo
echo "---- Copying dictionaries ----"