10 years ago
Topic

Hi

Many messages here are dealing with the Jtext issues to translate labels. Few are dealing with content translations and the side effects of it. 


To sum up there are several ways to manage multi languages sites in seblod so far (at least the one we know):

- you just do it as any joomla site: set up languages, duplicate menus, duplicate contents (one in each language)

- use the multi sites feature of Seblod: assign one language to each site but mainly the filter acts on the acl level

- the 'in content' translation Bes had been talking about but without giving any detail. Seems to be a way to add translation inside the content itself. more to come I hope


All these approaches may be great but there is another issue that is almost never dealt: the category managment and the results url managment for the SMART SEARCH results.


Actually if you follow the "joomla rules" you should create a category for each language and NEVER mix languages inside a given category. This is the only way (at least I guess) the Joomla com_finder will build right urls in for the smart search results. The router will look for 'articles of a category' links to build its routes with the corresponding itemid. With separate categories for each language com_finder finds the right menu items and builds right urls.

BUT in seblod we mainly associate a content type to a joomla category (this is a good way to display and filter content types from the joomla back office). So we put all the contents from a given content type in the same category. The NEWS are automatically stored in the news category, the EVENTS are automatically stored in the EVENTS category and so on.... whatever languages they are tagged.


Having to duplicate the categories mean having to rework ALL the content types form (and many lists) to modify the category storage management  each time you add a language. Even if it is possible (with conditional states and code fields according to the language field) it is very tedious.


So how do you manage the seblod/smart search articulation to avoid categories duplications ? What is your best pratices for this issue please?


thanks


cyril



Get a VIP membership
548 Posts
joomleb
10 years ago
0
Level 1
Hy cyril,
planning some multilanguage sites I'm also too interested about this issue
and, in first, I'm too interested to know what is the best multilanguage approach in Seblod team opinion (thinking on three ways you mentioned)...
Last but not least, How to manage Multilanguage/Multisite together ?
10 years ago
0
Level 1
Hi
here are my findings so far:
We made some joomla 3.x developpers modify the con_finder indexing process so that the language is taken into account for the smart search results, helping us to avoid categories duplication. There is a patch at https://github.com/mbabker/patchtester/releases ( please install 2546 patch) that only works for Joomla 3.x though. With this patch we put translated contents in the same category as the original content and create corresponding translated menu items to this categories. The smart search results builds right sef urls now.

We also created an extended VIEW 'dynamic' (+) seblod plugin that automatically searches for 'list of articles in a categeory' menu items that matches the category of the current item in a list. This way when you get various items in a seblod list that belong to different categories, the sef url link is ok. It is ok but we need to create so infamous hidden 'categories menu items' to make it work.

However we are working on a new VIEW CCK Dynamic plugin that will seach the seblod list menu items and forget the categories menu items. This way we may only work with seblod.

cyril


10 years ago
0
Level 1
Hi

We just created a new LINK plugin that will mach an itemid to a cck. This way you can have right urls in seblod search results when there is no way to know to which content type your element belong.
it doesn't solve the initial com_finder issue but it greatly helps in some cases.

We put both link plugin (automatic and cck based) on http://www.pulsar-informatique.com/Link-plugins/Voir-categorie.html
They both work in a multi languages site.
thanks

cyril

10 years ago
0
Level 1
As for the com_finder issue in multi language sites and Joomla 2.5 we also have Hannes Papenberg made a patch that will hopefully be integrated in Joomla 2.5.17.
This patch makes com_finder builds right urls when you have original and translated contents in the same category but with two different menu items pointing to this category (one for each language).
you can download the patch at https://github.com/joomla/joomla-cms/pull/2631
thanks
cyril

Get a Book for SEBLOD