[bug] Cannot display translated text because LibreTranslate can't detect the source language #369

Open
opened 2022-12-13 18:05:01 +00:00 by csolisr · 0 comments

Your setup

OTP

Extra details

No response

Version

3.5.0-0-g63f2d1cbe

PostgreSQL version

13

What were you trying to do?

When attempting to translate any post, instead of displaying the content or the translation, the system deletes the text of the post instead.

What did you expect to happen?

The system should display the translated text in place of the post.

What actually happened?

The system displays no text whatsoever instead.

Logs

Reviewing the console tools in the browser, the system makes a call to https://social.example.net/api/v1/statuses/AAAAAAAAAAAAA/translations/en , which returns:

```
{
  detected_language: null,
  text: "Example"
}
```

and the console log displays the following error:

```
t.status.translation.detected_language is null
```

I am currently using LibreTranslate with https://translate.argosopentech.com/ as my backend.

Severity

I cannot use it as easily as I'd like

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup OTP ### Extra details _No response_ ### Version 3.5.0-0-g63f2d1cbe ### PostgreSQL version 13 ### What were you trying to do? When attempting to translate any post, instead of displaying the content or the translation, the system deletes the text of the post instead. ### What did you expect to happen? The system should display the translated text in place of the post. ### What actually happened? The system displays no text whatsoever instead. ### Logs ````shell Reviewing the console tools in the browser, the system makes a call to https://social.example.net/api/v1/statuses/AAAAAAAAAAAAA/translations/en , which returns: ``` { detected_language: null, text: "Example" } ``` and the console log displays the following error: ``` t.status.translation.detected_language is null ``` I am currently using LibreTranslate with https://translate.argosopentech.com/ as my backend. ```` ### Severity I cannot use it as easily as I'd like ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
csolisr added the
bug
label 2022-12-13 18:05:02 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#369
No description provided.