fixed frontend localization

This commit is contained in:
vabene1111
2021-05-30 17:12:59 +02:00
parent e05019d2b1
commit 4f09970130
9 changed files with 13 additions and 5 deletions

View File

@@ -61,6 +61,8 @@
<script type="application/javascript">
window.CUSTOM_LOCALE = '{{ request.LANGUAGE_CODE }}'
window.RECIPE_ID = {{recipe.pk}};
window.USER_SERVINGS = {{ user_servings }};
window.SHARE_UID = '{{ share }}';