Closed S1SYPHOS closed 7 years ago
Thanks for reporting. Unfortunately I can't reproduce this issue. Any ideas what could be the difference between your live and dev server (PHP version, server config, ...)?
One more idea, @S1SYPHOS: Could you please check if all plugin files are up to date on the dev server. Especially the main plugin file site/plugins/translations/translations.php
. This is where the (new) routes are defined.
Latest pull was commit 661eae7a37425f93826299e2a0e9485985f235b7 (README.md change), main plugin file is still v0.5!
Same issue using php v7.0.15 built-in server on OSX
I found the error!
Dots in plugin.translations
and plugin.translations.update
are the problem.
The PHP built-in server doesn't use Apache so you can't rely on a htaccess files, and it seems to not be able to resolve url with dots itself.
For instance, replacing plugin.translations
by plugin-translations
and plugin.translations.update
by plugin-translations-update
seems to fix the issue. But I don't know if it's the best alternative url though?
Great. Since the url is only used internally, it doesn't really matter what it looks like. I will change it for the next release. Thanks for checking that out!
I'll be happy testing it 👍
Alright. I changed the urls and tested it successfully with OSX built in php server. Would be awesome if someone else could check it. Thanks in advance.
Please use the develop
branch:
https://github.com/flokosiol/kirby-translations/tree/develop
works 👍
Thanks for your support, guys.
Thanks for this plugin.
Without plugins like this one, I wouldn't reach out to clients, suggesting to use Kirby at all (moreover: pay for it). I love your work.
Hey there, love the new sync option. Since v0.5 I now get this on my PHP dev server when trying to sync / delete a translation:
// Edit: Everything's working fine live by the way.