diff --git a/umap/templates/umap/js.html b/umap/templates/umap/js.html
index 4a76c41b..5ef342ab 100644
--- a/umap/templates/umap/js.html
+++ b/umap/templates/umap/js.html
@@ -27,7 +27,11 @@
-{% if locale %}{% endif %}{# TODO: handle dynamic locale! #}
+{% if locale %}
+ {% with 'umap/locale/'|add:locale|add:'.js' as path %}
+
+ {% endwith %}
+{% endif %}