jDiction Forum

English => Extensions and jDiction => Topic started by: lnsomnia on October 20, 2012, 10:35:13 am

Title: jDiction and K2
Post by: lnsomnia on October 20, 2012, 10:35:13 am
This extension wil be perfectly perfect if we could use it with K2 component.
I have meny articles and categories in K2, now I have to export somehow and import in the Joomla core content to be able to use this fantastic multilanguage tool.

 :-\
Title: Re: jDiction and K2
Post by: Harald Leithner on October 20, 2012, 11:31:28 am
I never tried K2 so I can't say if its possible or not but it should be, If I get time I could look at it but that maybe not be soon.
Title: Re: jDiction and K2
Post by: lnsomnia on October 21, 2012, 11:45:07 am
OK.

I have one small issue and I don't know how to resolve it.
I have some HTML modules with some text and one photo inside modules, but I'm able to translate only a title of module, but in Content section of translation, I'm able to input only pure text, without any tags, so I can't put any photo or link.
Can you help me with some advice?
Title: Re: jDiction and K2
Post by: Harald Leithner on October 21, 2012, 01:38:37 pm
maybe there is a false filter set in the xml files, I will check this.
Its possible that k2 also needs only a xml file.
Title: Re: jDiction and K2
Post by: Harald Leithner on October 21, 2012, 02:30:26 pm
maybe there is a false filter set in the xml files, I will check this.

Its possible that k2 also needs only a xml file.
Title: Re: jDiction and K2
Post by: snlr on November 21, 2012, 05:47:45 am
Joomla Content that was already translated seems to be available and working even after import into K2. The language switcher works also. Only new K2 items/categories can't be translated, and the imported ones can't be changed. Basically, the icon to get to a translation is "missing". Actually, if the list in /administrator/index.php?option=com_jdiction would be more accessible, that would be a nice workaround.

thank you,
s.
Title: Re: jDiction and K2
Post by: Harald Leithner on November 24, 2012, 05:19:39 pm
I have to check this but atm there is no time to support 3rd party components by us.
This will start at 1.0 release.
Title: jDiction and K2
Post by: vcantante on May 23, 2013, 10:12:11 pm
hi,m thankyou for the excellent component. my Q, its how can i do to contruct the XML that i need to connect or traslate my k2 items and categories?

thankyou
Title: Re: jDiction and K2
Post by: Harald Leithner on May 23, 2013, 10:26:03 pm
Maybe I have time tomorrow to write the xml files. But the 3rd Party API is not ready yet.
Title: Re: jDiction and K2
Post by: Harald Leithner on May 24, 2013, 06:57:01 pm
Attached is the Firstversion of the xml file

Download it to the administrator\components\com_k2\ folder.

There is no multilingual search support atm.

Also its not possible to translate users and attachments.
Title: Re: jDiction and K2
Post by: Harald Leithner on May 24, 2013, 06:59:43 pm
Oh I forgot you need the prerelease of jDiction 0.9.9.8
Title: Re: jDiction and K2
Post by: andreaspada on October 03, 2013, 03:30:16 am
I have installed the version indicated and the xml file, but I do not notice anything different... when I open a k2 item, I do not see anything indicating that jdiction is working.
Also, if I try to export the content, it does not show the k2 tables...

I have to use a special version of k2?

I'm using 2.5 joomla...
Title: Re: jDiction and K2
Post by: Harald Leithner on October 03, 2013, 09:22:10 am
No should work out of the box, where did you copy the xml file?

what says the checkpage?
Title: Re: jDiction and K2
Post by: andreaspada on October 05, 2013, 02:22:57 am
I put the xml where you indicate: administrator/components/com_k2

My check page say:

Version   
    Library Version: 0.9.9.8
    Joomla Version 2.5.11 is ok.

Plugin   
    JDiction Plugin is enabled
    Languagefilter is enabled

Database   
    jDiction Database Driver is selected

Language   
    Seam to be good

Module   
    Module is enabled

What do you think about?
Title: Re: jDiction and K2
Post by: andreaspada on October 05, 2013, 02:24:51 am
Ops, it was a permission problem.
Now its working like a charm! Sorry!!!

---

GREAT TOOL
Title: Re: jDiction and K2
Post by: kisobran007 on November 04, 2013, 09:52:27 am
Hi,

Thanks for this @Harald Leithner. It's working except Metadata information, I have installed joomla 2.5 Library version 0.9.9.11 and when I want to translate some item in K2 component and insert Meta description and Meta keywords it's mixed. Where I should enter Meta description it writes Meta Keywords and vice versa. That makes me confused so where I can edit that? Thanks for helping!
Attached is the Firstversion of the xml file

Download it to the administrator\components\com_k2\ folder.

There is no multilingual search support atm.

Also its not possible to translate users and attachments.
Title: Re: jDiction and K2
Post by: Harald Leithner on November 04, 2013, 10:46:36 am
in the xml file you uploaded to administrator\components\com_k2\.

Just change the label Tag.
Title: Re: jDiction and K2
Post by: kisobran007 on November 04, 2013, 12:07:59 pm
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<extension type="component" version="2.5" method="upgrade">
<name>com_jdiction</name>
<description>COM_JDICTION_XML_DESCRIPTION</description>
<creationDate>March 2011</creationDate>
<author>ITronic Harald Leithner</author>
<authorEmail>joomla@itronic.at</authorEmail>
<authorUrl>http://joomla.itronic.at</authorUrl>
<copyright>(C) 2012 Harald Leithner All rights reserved.</copyright>
<license>GNU General Public License Version 3.</license>
<version>0.9.9.11</version>

<install>
<sql>
<file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
</sql>
</install>
<uninstall>
<sql>
<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
</sql>
</uninstall>
      <update>
      <schemas>
            <schemapath type="mysql">sql/mysql</schemapath>
        </schemas>
</update>

<media destination="com_jdiction" folder="media/com_jdiction">
<folder>css</folder>
<folder>images</folder>
<folder>js</folder>
<filename>index.html</filename>
</media>

<administration>
<menu img="components/com_jdiction/assets/icon-16-translate.png">COM_JDICTION</menu>
    <files folder="administrator/components/com_jdiction">
    <folder>assets</folder>
    <folder>controllers</folder>
    <folder>helpers</folder>
    <folder>language</folder>
    <folder>models</folder>
    <folder>sql</folder>
    <folder>tables</folder>
    <folder>views</folder>
<filename>access.xml</filename>
<filename>config.xml</filename>
<filename>controller.php</filename>
<filename>index.html</filename>
<filename>jdiction.php</filename>
    </files>
  </administration>
</extension>

I am sorry, but still I don't understand. What should I edit here? Thanks for answering!
Title: Re: jDiction and K2
Post by: Harald Leithner on November 04, 2013, 12:16:06 pm
thats the wrong xml file ;-)

in the k2 folder is a jdiction.xml if not is in /libraries/jdiction/tables/com_k2.xml this file would be more self explaining.
Title: Re: jDiction and K2
Post by: kisobran007 on November 04, 2013, 01:19:41 pm
Ahh my bad. I used a "jdiction.xml" file from administrator/components/com_jdiction folder. Now I fix it. Big thanks Harald.
Title: Re: jDiction and K2
Post by: bugi777 on November 10, 2013, 10:47:10 am
Hello,
I have used jdiction.xml file from your post from May 24, 2013. Translate works great but i would like to add field "Tags". Have you made a never version of "jdiction.xml" becouse i can't find it in the paths below:

thats the wrong xml file ;-)

in the k2 folder is a jdiction.xml if not is in /libraries/jdiction/tables/com_k2.xml this file would be more self explaining.

I have tried to find how this field "Tags" is define in K2 files  *.xml or *.php but i can't find it. Can you help me with this?
I use: jdiction-0.9.9.11 and joomla 3.2.
Maybe will be good idea to put this "jdiction.xml" files for components like K2, JEvents, JGallery to folder with next version of Jdiction?


Best Regards and thanks very much for your great job !
Title: Re: jDiction and K2
Post by: Harald Leithner on November 10, 2013, 11:00:27 am
I'm not sure how k2 handles tags, I think they have there own implementation. If they use Joomla core Tags its more tricky because I have no xml file for this yet, but will come soon.
Title: Re: jDiction and K2
Post by: vmurphy on January 20, 2014, 11:14:42 pm
Really like jDiction, well done. I'm wondering about K2 extra fields. The component meets my needs with the exception of extra fields in K2 which I use extensively. Is there any way I can access the data in these fields for translation? I've tried activating the extra_fields in the administrator/components/com_k2/jdiction.xml file, which allows me to see the json for the extra fields but editing is not really practical. Any tips or direction much appreciated.
Title: Re: jDiction and K2
Post by: Harald Leithner on January 21, 2014, 01:44:32 pm
not at the moment because there is not standard way to handle json elements in a good way for many components (not only for k2)
Title: Re: jDiction and K2
Post by: vmurphy on January 21, 2014, 04:09:45 pm
Understood. Will continue to monitor how the project develops. Thanks for the quick answer.
Title: Re: jDiction and K2
Post by: fildin on February 01, 2014, 09:54:01 pm
Hi Harald,

I am trying to translate my K2 items that contain <span>, <h> and more tags. But unfortunately it appears, that after saving they are being cut and lost by the WYSIWYG editor?? Even when I switch the edior off in User manager. Is there any chance how to fix this, please? This is urgent. Thank you.


    Library Version: 1.0.1
    Joomla Version 2.5.17 is untested
    JDiction Plugin is enabled
    Languagefilter is enabled
    Multiple Plugins have the same loading position (0)   
    jDiction Database Driver is selected
    Language Seam to be good
    Module is enabled
    It seams that there a no common mistakes.
Title: Re: jDiction and K2
Post by: Harald Leithner on February 02, 2014, 07:57:10 am
I'm on vacation so i can't fix anything fast.
But i think the item field in jdiction.xml needs a filter attribute like in COM_content.xml.

Title: Re: jDiction and K2
Post by: fildin on February 10, 2014, 10:42:39 am
Could you be please more specific what I am suppose to do in these 2 files you mentioned?
Thank you
Title: Re: jDiction and K2
Post by: Harald Leithner on February 10, 2014, 10:57:05 am
do you use this file?

Because I think I fixed this already.
Title: Re: jDiction and K2
Post by: fildin on February 11, 2014, 12:30:25 pm
No, I was using that old one from 1st page of this topic. Just replaced with this one and it works. Thank you!
Title: jDiction and K2
Post by: jorgefela on May 04, 2016, 10:23:41 pm
Hi,

I am trying to translate my K2 items that contain. But unfortunately i can't. i copy the jdiction.xml file in the /administrator/components/com_k2/jdiction.xml but is not working.

Is there any chance how to fix this, please?
Thank you.

 the web page is https://www.vmctechnology.com/support/index.php/en/blog-vmc

Joomla! 3.3.3
Jdiction 1.3.2
Title: Re: jDiction and K2
Post by: Harald Leithner on May 05, 2016, 11:08:43 am
Even if it doesn't help please upgrade your joomla and jdiction to the latest version.

Joomla has a big security problem in your version.