Joomlatools Support Center

Support for Falang or any method for translate DocMan categories

Hi to all, i'm try to use latest Falang 1.4.7 (compatible with J3.4.0) for translate DocMan categories and category descriptions.
I have the old Falang plugin for Docman that obviusly is not working (is from 2012!!).

But i know is not hard to recreate with right mysql queries.

Now i receive this error:

Unknown column 'c.id' in 'field list' SQL=SELECT COUNT(distinct c.id) FROM ow6sb_docman_categories as c LEFT JOIN ow6sb_falang_content as jfc ON c.id=jfc.reference_id AND jfc.reference_table='docman_categories' AND jfc.language_id=2

Then i think i have found a partial solution for not have a blocking error.

With the below file i can add translations, falang not go in crash, but in Joomla frontend i cannot see the effect :-(

docman_categories.xml for Falang

<?xml version="1.0" ?>
<falang type="contentelement">
  <name>DOCman : categories</name>
  <author>Simone Bussoni</author>
  <copyright>www.simbus82.net</copyright>
  <version>2.0</version>
  <description>DOCman Categories Definition</description>
  <reference>
  	<table name="docman_categories">
  		<field type="referenceid" name="docman_category_id" translate="0">ID</field>
    	<field type="titletext" name="title" translate="1">Title</field>
    	<field type="text" name="slug" translate="1" posthandler="filterTitle">Slug</field>
  		<field type="htmltext" name="description" translate="1">Description</field>
	  </table>
  </reference>
  <translationfilters>
        <keyword>Title</keyword>
    </translationfilters>
</falang>

Can you help me? We have a lot of categories, replicate all of these for 5 languages is a crazy thing... Thanks!

PS: I only need some direction to let this plugin work, i don't need some Docman modification :-)

Simone

Answer

Posted 4 years ago by Johan Janssens Staff

Hi Massimo

We have been working on the Falang integration and have come to the conclusion that it's not possible to support Falang for DOCman.

Falang works directly on the database. The DOCman database schema is very complex and DOCman requires a lot of pre- and post processing when data is enterered into or retrieved from the database.

We have therefor decided not to pursue supporting Falang, but are going to implement support for the core multi-lingual system with some additional features to make it easy to create a multi-lingual DOCman install.

A concrete date for this feature has not been set.

There are 6 more comments in this ticket.
Subscribe or login to join the discussion!

Quantility
13.03.15
Answered

System Information

2.0
n/a
n/a