Comments (11)
Another clue is that my DeepL account receives the texts to be translated, because the quota decreases every time I click on the "translate" button.
I should point out that I've tried this locally with Mamp (Apache 2.4/php 8.1) and on a live server (Apache 2.4/php 8.2).
(I'll try to put an instance on a repo)
from kirby-content-translator.
Seems like your server-side request to the DeepL API failed and thus the response in the Kirby Panel is empty. Can you please provide a minimum reproducible example (a repo) so I can test your issue? Thanks!
from kirby-content-translator.
Sounds good. Thanks!
Can you show me the the response log from your browser's console? Specifically, the request error from the response body. Please enable Kirby debug mode therefore.
from kirby-content-translator.
My browser displays these 2 errors in the console panel... (I'm not sure if this meets your request?)
from kirby-content-translator.
No, I mean the result of the fetch request happening before the JS error.
from kirby-content-translator.
Oops… sorry. I'm afraid, I don't really know where to look…
from kirby-content-translator.
You can look in your browser's network tab. There is probably a red item, indicating the failed request. The response is important, because the DeepL translation is happening on the server-side, not client-side (Kirby Panel).
from kirby-content-translator.
wow thanks ! I'd never used this tab before.
The preview shows that the right information is being sent... and received. It seems that Kirby is unable to update the page...
Request preview
Response preview
from kirby-content-translator.
Thanks for the hints. The origin of the issue is on my side. 🙂
I believe you're using the ZIP file (main
branch) of this plugin and not the Composer-managed version, right? I have made some changes latetly (22726c2) that require a new build of the plugin... Which I have done just now: f995e7f
Please download the ZIP again. Or better, use a version managed by Composer or load the plugin releases from the dedicated release pages, like v1.2.0. But either way, it should work now. Please let me know, if it does. 🎬
from kirby-content-translator.
@lrntmszrs This issue should be resolved with the latest build. Please follow my instructions above. Thanks!
from kirby-content-translator.
Absolutely, everything works fine now. I had indeed DL the main
branch
Thank you very much for your help !
from kirby-content-translator.
Related Issues (13)
- Add support for layout fields HOT 5
- Translate page titles besides content HOT 3
- Blocks field inside of custom block throws error when translating
- Structure field in block
- Translation of nested blocks HOT 4
- Translate content programmatically HOT 4
- Make object field translatable HOT 3
- Option to update slug after translating title HOT 1
- I am getting: TypeError: u.result is undefined. HOT 1
- Custom Blocks Translations HOT 1
- Translation configuration by field type rather than name HOT 2
- Translate structure field inside object field HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirby-content-translator.