summaryrefslogtreecommitdiff
path: root/src/application/actions/ji18n/get.php
blob: e92b181b05bc4df1ed4748b4b08c0bc2eefc3829 (plain)
1
2
3
4
<?php

header("Content-Type: application/javascript; charset=UTF-8");
echo 'var I18N_MESSAGES = ' . json_encode(i18n_get_message_store(i18n_get_current_locale()), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . ";\n";