jDiction Forum

English => General Questions => Topic started by: Matevzs1 on November 09, 2013, 10:00:23 pm

Title: Can't save any translations
Post by: Matevzs1 on November 09, 2013, 10:00:23 pm
Hello guys!
I'm setting new webite for one of our high qualitty products so I decided to do multilangual page (Slovenian, English and German), I was using JoomFish on old site but it doesn't support J 3.x so I can't use it on new one. So I found out jDiction which looks pretty nice - but after installation I can do translation but only tittle is saved. Translation of article is simply gone when I open next time. I attacked few images - thanks for any help in advance.

Kind regards,
Matevz Sauperl

Attachments:
http://awesomescreenshot.com/09b1xs3da5
http://awesomescreenshot.com/06c1xs3m8f
http://awesomescreenshot.com/0a71xs3o27

__________________________________________________________________________________________________________________
And by the way :) There ARE kangaroos in Austria :D not wild one but anyway :P
Title: Re: Can't save any translations
Post by: Harald Leithner on November 10, 2013, 12:54:49 am
Plz try the default editor
Title: Re: Can't save any translations
Post by: Matevzs1 on November 10, 2013, 11:12:52 am
Well, default was TinyMCE, so I tried CodeMirror > didn't worked and then I setted to "Editor - none" and now it works, but it's problematic to write article. Now I must write every BB code by myself - so can this be fixed?

But thanks for help a lot!

Kind regards,
Matevz Sauperl

P.S.: Another question :) Can I somehow set that after change language the image at first page is changed? (now it's in Slovenian language, then it would be in English or German language), and this image is integrated directly into template.
Title: Re: Can't save any translations
Post by: Harald Leithner on November 10, 2013, 12:11:59 pm
Hmm tinymce schould work fine.

I'm not sure which image u mean. Do man the language flag?
Title: Re: Can't save any translations
Post by: Matevzs1 on November 10, 2013, 12:57:54 pm
No, banner image - here is link to page: http://medina.tevzeve-dobrote.si/index.php/en/ (http://medina.tevzeve-dobrote.si/index.php/en/) << and in template there is banner at first page ;) So can I insert somewhere some code or something that after language is changed, image is changed too?

So like this:
Image when Slovenian language is set: http://medina.tevzeve-dobrote.si/templates/jf_calla-exteriors/images/banner.jpg (http://medina.tevzeve-dobrote.si/templates/jf_calla-exteriors/images/banner.jpg)
When English language is set: http://medina.tevzeve-dobrote.si/templates/jf_calla-exteriors/images/banner_en.jpg (http://medina.tevzeve-dobrote.si/templates/jf_calla-exteriors/images/banner_en.jpg)
and when German is set: http://medina.tevzeve-dobrote.si/templates/jf_calla-exteriors/images/banner_de.jpg (http://medina.tevzeve-dobrote.si/templates/jf_calla-exteriors/images/banner_de.jpg)

I don't know if you can help here or not - but if you can I would be really thankfull.

Kind regards,
Matevz
Title: Re: Can't save any translations
Post by: Harald Leithner on November 12, 2013, 01:08:58 pm
Sorry didn't have time till now.

You could do this with some code in the template, but thats out of the scope of jdiction.

If the banner is a module you can create one for each language.
Title: Re: Can't save any translations
Post by: scorpio62 on November 28, 2013, 02:53:14 pm
Hi,

the issue with saving articles is still evident.
Only with setting "Editor - None" I am able to save the content of an article!

With any other editor it doesn`t work. I use the newest version from jdiction 0.9.9.11, Joomla 3.2.0, database jdiction_mysqli.

Without an working editor it is difficult to give the content to translate to someone, as not everyone will be used to work in sourcecode!

Is there a solution?
Title: Re: Can't save any translations
Post by: Harald Leithner on November 28, 2013, 03:00:19 pm
I have an 3.2 installation too and have the same problem so I will look into it now ;-)
Title: Re: Can't save any translations
Post by: scorpio62 on November 28, 2013, 03:04:08 pm
Thank you  :D
Title: Re: Can't save any translations
Post by: Harald Leithner on November 28, 2013, 05:28:24 pm
this is an alpha build for 3.2.0...
Title: Re: Can't save any translations
Post by: scorpio62 on November 28, 2013, 06:16:02 pm
Hi Harald,

With TinyMCE it seems to work now, I have still to work a little bit more with it.
With Joomla CK the changes wouldn`t be saved, so the old content stays after saving.

Thank you for ypur excellent work!
Title: Re: Can't save any translations
Post by: Harald Leithner on November 28, 2013, 06:45:26 pm
I have to support each Editor seperate and not the time for that at the moment.
Title: Re: Can't save any translations
Post by: scorpio62 on November 28, 2013, 07:27:33 pm
You are welcome, it was only informative.
Title: Re: Can't save any translations
Post by: scorpio62 on November 29, 2013, 09:49:18 am
Hi,

I don`t understand, but today it works suddenly not more, I have nothing changed. In the backend the translation is stored correct, but in the frontend the translation will not be shown.

This are the results of the component check, this seems also OK:

Version  Library Version: 0.9.9.12-alpha.5045e54
Plugin  JDiction Plugin is enabled
Languagefilter is enabled
Database  jDiction Database Driver is selected
Language  Seam to be good
Module  Module is enabled
Title: Re: Can't save any translations
Post by: Harald Leithner on November 29, 2013, 10:48:07 am
you are using 3.2.0 correct?
Title: Re: Can't save any translations
Post by: scorpio62 on November 29, 2013, 10:54:09 am
yes
Title: Re: Can't save any translations
Post by: Harald Leithner on November 29, 2013, 11:01:46 am
There are some Problems with 3.2.0 and multilang support. But maybe thats the reason, would you send me a link to your site?
Title: Re: Can't save any translations
Post by: scorpio62 on November 29, 2013, 11:10:52 am
I have sent you a pm.
Title: Re: Can't save any translations
Post by: kuba22s on November 29, 2013, 04:26:33 pm
hello,


I have this same problem, is anyone who can help me? Is urgent :(
I set up a Joomla with your tips, itry with diffrent browsers and nothing :(

There is my info
Version    

    Library Version: 0.9.9.12-alpha.5045e54
    Joomla Version 2.5.11 is ok.

Plugin    

    JDiction Plugin is enabled
    Languagefilter is enabled
    Multiple Plugins have the same loading position (0)

Database    

    jDiction Database Driver is selected

Language    

    Translations are not equal to frontend translations.

Module    

    Module is enabled
Title: Re: Can't save any translations
Post by: Harald Leithner on November 29, 2013, 04:28:08 pm
This Version works better.
Title: Re: Can't save any translations
Post by: Harald Leithner on November 29, 2013, 04:29:22 pm
oh no you can't have the same problem because you are not using Joomla 3.2.0

What editor do you use? If not the default one (tinyMCE) please change the editor to the default one.
Title: Re: Can't save any translations
Post by: kuba22s on November 29, 2013, 04:35:57 pm
I use TinyMCE so standard,

so I also use version like 0.9.9.8 and nothing- this same :(
Title: Re: Can't save any translations
Post by: Harald Leithner on November 29, 2013, 04:37:36 pm
2 things

use version 0.9.9.11
upgrade joomla to 2.5.14 thats my tested version.

How many languages have you installed and created content language?
Title: Re: Can't save any translations
Post by: kuba22s on November 29, 2013, 04:47:52 pm
ok, I am doing this

three- Polish, English, Germany
Title: Re: Can't save any translations
Post by: kuba22s on November 29, 2013, 04:59:12 pm
ok so  I updated it and install 0.9.9.11 this same :(
Title: Re: Can't save any translations
Post by: kuba22s on November 29, 2013, 05:04:03 pm
Version    

    Library Version: 0.9.9.11
    Joomla Version 2.5.14 is ok.

Plugin    

    JDiction Plugin is enabled
    Languagefilter is enabled
    Multiple Plugins have the same loading position (0)

Database    

    jDiction Database Driver is selected

Language    

    Translations are not equal to frontend translations.

Module    

    Module is enabled
Title: Re: Can't save any translations
Post by: Harald Leithner on November 29, 2013, 05:54:23 pm
Please send me an pm with a super admin account
Title: Re: Can't save any translations
Post by: Booksie on January 02, 2014, 11:47:40 pm
Hi,

I am having the same issue and checked that I followed the instuctions carefully.

Everything is working perfectly (Title, Category etc) but the text content is not saving.

Can anyone help me out in this?

Thanks
Title: Re: Can't save any translations
Post by: youchenlee on January 07, 2014, 09:11:07 am
Hi,

I am having the same issue and checked that I followed the instuctions carefully.

Everything is working perfectly (Title, Category etc) but the text content is not saving.

Can anyone help me out in this?

Thanks

My site has exactly the same problem with yours.
After tracing on it, I found it's caused by the error "tinyMCE.onAddEditor is undefined". As I'm using tinyMCE 4 (Joomla! 3.2), the event registration functions seems changed.
Here is a tiny patch fixed my site, but I'm not sure it's all correct, please kindly review it.

patch: http://pastebin.com/vK7aBhFj (please ignore the incorrect indentation)
Code: [Select]
diff --git a/administrator/components/com_jdiction/views/translation/tmpl/form.php b/administrator/components/com_jdiction/views/translation/tmpl/form.php
index 49fe3ca..78dd4ec 100644
--- a/administrator/components/com_jdiction/views/translation/tmpl/form.php
+++ b/administrator/components/com_jdiction/views/translation/tmpl/form.php
@@ -45,8 +45,9 @@ JHtml::_('behavior.formvalidation');
                });
                //If we have a tinyMCE Editor
                if (typeof tinyMCE != 'undefined') {
-           tinyMCE.onAddEditor.add(function(mgr,ed) {
-                               ed.onChange.add(function(ed, e) {
+                       tinyMCE.on('AddEditor', function(e) {
+                               ed = e.editor;
+                               ed.on('Change', function(e) {
                                        jdiction_checkStatus(ed.getContent(), jQuery('#'+ed.id+'_status').prop('title'), ed.id, '#'+ed.id+'_tbl');
                                });
                        });
Title: Re: Can't save any translations
Post by: Harald Leithner on January 07, 2014, 12:25:17 pm
You are not using the latest version... I only have a alpha for 3.2 atm.

http://forum.jdiction.org/index.php/topic,473.msg1477.html#msg1477
Title: Re: Can't save any translations
Post by: youchenlee on January 07, 2014, 03:58:03 pm
You are not using the latest version... I only have a alpha for 3.2 atm.

http://forum.jdiction.org/index.php/topic,473.msg1477.html#msg1477

Got it! Thank you.
Title: Re: Can't save any translations
Post by: cmjonit on January 10, 2014, 11:08:41 pm
Jdiction is certainly an amazing extension for joomla.

I have this same problem and after scouting the forum it appears the problem has to do with the latest versions of the default Editors of Joomla, i.e. TinyMCE and MirrorCode because the problem is rampant with J3.20.

In my case when i choose No Editor in global config, jDiction works absolutely well. but with either TinyMCE or MirrorCode, only titles' translations are saved, the 'body text' is not saved. And without a WYSIWYG Editor, creating pages becomes difficult.

Our very kind developer has said he's going to look into it, but when? I hope soon.
Title: Re: Can't save any translations
Post by: Harald Leithner on January 10, 2014, 11:09:50 pm
this version should work http://forum.jdiction.org/index.php/topic,473.msg1477.html#msg1477 or?
Title: Re: Can't save any translations
Post by: cmjonit on January 17, 2014, 03:26:40 pm
Hi Harald,

My Joomla install is actually 3.2.1.

I have installed 0.9.9.12-alpha.5045e54. And done all settings correctly.

Translations are saved perfectly in the backend. BUT translated articles don't show on the frontend at all both title and content. Only translated menu tiles, module titles show.

What could be the problem?
Title: Re: Can't save any translations
Post by: Harald Leithner on January 22, 2014, 05:50:59 pm
I sorry, I missed your reply, could you please check Version 1.0.0 and post the checkpage output?