Making WordPress.org

#3888 closed defect (invalid)

Translate API not indicating charset

Reported by: casiepa Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:


Checking https://translate.wordpress.org/api/projects/wp-plugins/akismet/stable with https://jsonformatter.curiousconcept.com/ , it seems that a response header is missing.

The solution is probably in https://stackoverflow.com/questions/39488457/i-dont-understand-whats-wrong-with-this-json

"The server/service exposing that JSON, is not setting the Content-type: application/json; charset=utf-8 in the response header, thus the tool raises the error."

With Chrome developer tools I indeed see that the header is giving the correct content-type but not adding the charset.

Thanks for fixing.

Change History (1)

#1 @ocean90
13 months ago

  • Resolution set to invalid
  • Status changed from new to closed

Thanks for the report! The header is set in GlotPress so it needs to be reported to GlotPress directly.

Note: See TracTickets for help on using tickets.