jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Pages: 1 [2] 3

Author Topic: jDiction and K2  (Read 89879 times)

kisobran007

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: jDiction and K2
« Reply #15 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.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: jDiction and K2
« Reply #16 on: November 04, 2013, 10:46:36 am »

in the xml file you uploaded to administrator\components\com_k2\.

Just change the label Tag.
Logged
Joomla! 5.0 Release Manager
Vote at JED

kisobran007

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: jDiction and K2
« Reply #17 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!
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: jDiction and K2
« Reply #18 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

kisobran007

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: jDiction and K2
« Reply #19 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.
Logged

bugi777

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: jDiction and K2
« Reply #20 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 !
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: jDiction and K2
« Reply #21 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

vmurphy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: jDiction and K2
« Reply #22 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.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: jDiction and K2
« Reply #23 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)
Logged
Joomla! 5.0 Release Manager
Vote at JED

vmurphy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: jDiction and K2
« Reply #24 on: January 21, 2014, 04:09:45 pm »

Understood. Will continue to monitor how the project develops. Thanks for the quick answer.
Logged

fildin

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Creative Webdesign
Re: jDiction and K2
« Reply #25 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.

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: jDiction and K2
« Reply #26 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.

Logged
Joomla! 5.0 Release Manager
Vote at JED

fildin

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Creative Webdesign
Re: jDiction and K2
« Reply #27 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

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: jDiction and K2
« Reply #28 on: February 10, 2014, 10:57:05 am »

do you use this file?

Because I think I fixed this already.
Logged
Joomla! 5.0 Release Manager
Vote at JED

fildin

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Creative Webdesign
Re: jDiction and K2
« Reply #29 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!
Pages: 1 [2] 3