compdemocracy / polis

:milky_way: Open Source AI for large scale open ended feedback
https://pol.is
GNU Affero General Public License v3.0
773 stars 178 forks source link

Greek translation causes 500 Internal Error in https://pol.is/api/v3/participationInit #1558

Open vasrou opened 1 year ago

vasrou commented 1 year ago

Hi,

Greek language in the interface should be working with embedding script. The translation is here https://github.com/compdemocracy/polis/blob/edge/client-participation/js/strings/gr.js and also listed as available in the official documentation at https://compdemocracy.org/interface-translations/

Instead, https://pol.is/api/v3/participationInit returns a polis_err_get_participationInit2 500 server error when language is set to Greek (gr).

<div class="polis" data-page_id="xxx" data-site_id="polis_site_id_xxx" data-ui_lang="gr"></div>
<script async="true" src="https://pol.is/embed.js">
</script>

Also tested with https://preprod.pol.is/embed.js. The script works fine with other language translations.

patcon commented 1 year ago

No specific insight here, but very generous of you to create a GitHub account and submit a report about it 😊

Just cc'ing @sirodoht since he might be curious that another Greek speaker is contributing to Polis (in whatever small way)