Does someone know where to find this words from the dashboard statistics to translate ?

    If the language you're looking for isn't available as a language pack from osticket.com, you can update the translations at https://crowdin.com/project/osticket-official - note that while it is possible to manually import languages, I don't think it's very easy. I had a play around with the UK English files before the language pack was available, but in the long run it's easier to ensure your language is fully translated for the next batch of language pack builds ?

    These words are translated in the language pack that I want to install but they are still on English in the dashboard.
    This means that maybe these words are hardcoded somewhere but don't know where, any help
    Thanks

    Ah sorry, I misunderstood. I'm afraid I don't know the answer to this one then.

    Found this but this is not a good way https://github.com/osTicket/osTicket/issues/4189

    Found the script which gets the json but I don't know from where is comming that json
    <script>
    $.drawPlots({"times":[1549324800,1549411200,1550102400],"plots":{"created":[1,5,1],"closed":[0,0,2],"reopened":[0,0,1],"overdue":[0,0,6]},"events":["created","closed","reopened","overdue"]});
    </script>
    also played with this files (dashboard.inc.php, dashboard.inc.js) but still didn't get the result

    You haven't told us the version of osTicket that you are using.

      ntozier
      Server: Ubuntu 18.04, apache
      PHP: 7.2
      osTicket version: 1.10.4

      8 days later

      Sorry for the double post.
      Any decent suggestion on how to fix this?

      a month later

      Some of the devs can lead me to solution?

      I still do not touch it, I do not know if they are those, but in the .phar of the language you have an event.yaml file that has those titles.

      KevinTheJedi I've changed the words directly in that file but the dashboard doesn't appear with all the statistics and the words aren't translated. This is SQL query witch take data directly from the database so I have to translate them in the database?
      This question is asked many times and still not resolved in a proper way.
      Cheers

      pwned After investigating a bit they are in the database: ost_event

      Write a Reply...