You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the same languages are used in "from" and "to"
or if "from" is not sent but the detected language is the same as "to"
Nextcloud server tries to translate the text from and to the same language.
Steps to reproduce
Try to translate an English text and set "from" = "en" (or leave it empty for auto-detect) and set "to" = "en"
Expected behavior
The server should reply with a meaningful error or just return the same string that was sent
Installation method
None
Nextcloud Server version
master
Operating system
Other
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Default user-backend (database)
LDAP/ Active Directory
SSO - SAML
Other
Configuration report
No response
List of activated Apps
shipped
talk
translate
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered:
Bug description
At the moment if a text is send to translate using the endpoint:
https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-translation-api.html#translate-a-string
If the same languages are used in "from" and "to"
or if "from" is not sent but the detected language is the same as "to"
Nextcloud server tries to translate the text from and to the same language.
Steps to reproduce
"from" = "en"
(or leave it empty for auto-detect) and set"to" = "en"
Expected behavior
The server should reply with a meaningful error or just return the same string that was sent
Installation method
None
Nextcloud Server version
master
Operating system
Other
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: