dictionary/translate API view #977

Open
opened 2026-05-15 14:32:54 +00:00 by c24danli · 4 comments
Collaborator

This is not an important view prioritize other issues before this
#944 research
creating a view where a user can send a word for translating using the freedictionaryapi the user should be able to choose from and to which language the translation happens. examples on how to call the api in the research.
If implemented then we have to make sure to give credit in legal page
The API uses Wiktionary data under the CC BY-SA 4.0 license. Attribution to Wiktionary and FreeDictionaryApi is required when using the API.

This is not an important view prioritize other issues before this #944 research creating a view where a user can send a word for translating using the [ freedictionaryapi ](https://freedictionaryapi.com/) the user should be able to choose from and to which language the translation happens. examples on how to call the api in the research. If implemented then we have to make sure to give credit in legal page The API uses Wiktionary data under the CC BY-SA 4.0 license. Attribution to Wiktionary and FreeDictionaryApi is required when using the API.
Collaborator

I think there might have been a misunderstanding of the usage of this API.
It is not a translation tool, but a dictionary of one language.
It can (slight chance) give a translation from a language to English.
image

So it won't work as a From x to y language. and it won't always have a translation in english.

image

This being said, I have implemented it and can still pull request if it is needed?

I think there might have been a misunderstanding of the usage of this API. It is not a translation tool, but a dictionary of one language. It can (slight chance) give a translation from a language to English. ![image](/attachments/806c0637-6f95-4803-8256-752181268be3) So it won't work as a From x to y language. and it won't always have a translation in english. ![image](/attachments/f71923a3-78ea-4d1e-bb70-0246195d8e1f) This being said, I have implemented it and can still pull request if it is needed?
Author
Collaborator

If you add the translate option then it translates it to other languages.
image

If you add the translate option then it translates it to other languages. ![image](/attachments/c547a768-9877-40d0-bf4a-b8b1a1127e88)
Collaborator

Yes, it is enabled. But this means if any translations are found, they will be present.
which is what I included in the usage, shwon in the images above (they are a card in i made).
But this tool is not for translation. Thus, we cannot have it translate, ex: from English to Swedish. it will always give the definition of the word from the selected language in English. not translate

Yes, it is enabled. But this means if any translations are found, they will be present. which is what I included in the usage, shwon in the images above (they are a card in i made). But this tool is not for translation. Thus, we cannot have it translate, ex: from English to Swedish. it will always give the **definition** of the word from the selected language in English. not translate
Author
Collaborator

When i use the api i get the translations?
search for hello
image

and got

image

When i use the api i get the translations? search for hello ![image](/attachments/03667fe8-2848-4be2-b428-7463792e2c4a) and got ![image](/attachments/c1ad802f-9992-405b-a293-dd8097396a9d)
Sign in to join this conversation.
No milestone
No project
No assignees
2 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
Andras/BoundlessFlowCampus2K#977
No description provided.