diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html
index bf53ef0022c..12ba4a8d46c 100644
--- a/netbox/templates/dcim/device.html
+++ b/netbox/templates/dcim/device.html
@@ -5,6 +5,7 @@
{% load helpers %}
{% load plugins %}
{% load i18n %}
+{% load l10n %}
{% load mptt %}
{% block content %}
@@ -63,7 +64,7 @@
{% if object.latitude and object.longitude %}
{% if config.MAPS_URL %}
diff --git a/netbox/templates/dcim/site.html b/netbox/templates/dcim/site.html
index d3a44f3ac5a..1ad0a75ae57 100644
--- a/netbox/templates/dcim/site.html
+++ b/netbox/templates/dcim/site.html
@@ -3,6 +3,7 @@
{% load plugins %}
{% load tz %}
{% load i18n %}
+{% load l10n %}
{% load mptt %}
{% block breadcrumbs %}
@@ -95,7 +96,7 @@
{% if object.latitude and object.longitude %}
{% if config.MAPS_URL %}