twentytwokhz / language-translator

An Obsidian plugin to translate selected text in the desired language
https://florin.page
MIT License
43 stars 4 forks source link

[BUG] cannot read properties of undefined (reading 'translations') #10

Closed madwichery closed 1 year ago

madwichery commented 2 years ago

Thank you for creating this amazing plugins. It works for couple days and suddenly when i try to translate this popping up cannot read properties of undefined (reading 'translations')

is it because i don't have the API key for the translation perhaps?

fokewulf commented 2 years ago

Hi Thank you for creating this amazing plugins. But after i used for two weeks, today i have same problem

martinopiaggi commented 2 years ago

Hi, it's an amazing plugin but same problem too. It worked for a few days and then it started to give me this error. I use it with a custom shortcut 'insert translation' from italian to english. Thanks.

Medenor commented 1 year ago

Same issue since a couple of days. Changing languages or translator does not solve it.

mateusfonseca01 commented 1 year ago

just intalled the plug in but had the same problem

CodeTorom commented 1 year ago

same issue, has anyone find out what's causing this?

twentytwokhz commented 1 year ago

Investigated the issue but was not able to reproduce. I added some exception handling, but I assume it has to do with the amount of translation text that is handled and the quota on the API. Measures have been added to identify this on the server side and inform the user on the frontend side.

Let me know if it is still reproducible in 1.0.2