jDiction Forum
English => Extensions and jDiction => Topic started 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.
:-\
-
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.
-
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?
-
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.
-
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.
-
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.
-
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.
-
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
-
Maybe I have time tomorrow to write the xml files. But the 3rd Party API is not ready yet.
-
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.
-
Oh I forgot you need the prerelease of jDiction 0.9.9.8
-
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...
-
No should work out of the box, where did you copy the xml file?
what says the checkpage?
-
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?
-
Ops, it was a permission problem.
Now its working like a charm! Sorry!!!
---
GREAT TOOL
-
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.
-
in the xml file you uploaded to administrator\components\com_k2\.
Just change the label Tag.
-
<?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!
-
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.
-
Ahh my bad. I used a "jdiction.xml" file from administrator/components/com_jdiction folder. Now I fix it. Big thanks Harald.
-
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 !
-
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.
-
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.
-
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)
-
Understood. Will continue to monitor how the project develops. Thanks for the quick answer.
-
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.
-
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.
-
Could you be please more specific what I am suppose to do in these 2 files you mentioned?
Thank you
-
do you use this file?
Because I think I fixed this already.
-
No, I was using that old one from 1st page of this topic. Just replaced with this one and it works. Thank you!
-
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
-
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.