{% if not app.debug %}
{% set locales = app.request.session.get('_locale',app.request.locale)|default('zh_CN') %}
{% do script(['/rewardpointplugin/js/translations/' ~ locales ~ '.js'], 100) %}
{% endif %}