Commit 51de302c by Brian Jacobel Committed by Clinton Blackburn

Fix gettext errors by including /js/i18n/LANGUAGE_CODE/djangojs.js in Django template

parent c0703cb5
<!DOCTYPE html>
{% load sekizai_tags i18n microsite pipeline optional_include %}
{% load sekizai_tags i18n microsite pipeline optional_include staticfiles %}
{% load url from future %}
<html lang="{{LANGUAGE_CODE}}">
<head>
<meta charset="UTF-8">
{% block title %}<title>{% platform_name %}</title>{% endblock %}
<link rel="icon" type="image/x-icon" href="{% favicon_path %}" />
<link rel="icon" type="image/x-icon" href="{% favicon_path %}" />
{% with "js/i18n/"|add:LANGUAGE_CODE|add:"/djangojs.js" as i18njs_path %}
<script type="text/javascript" src="{% static i18njs_path %}"></script>
{% endwith %}
{% stylesheet 'style-vendor' %}
{% stylesheet 'style-main-v1' %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment