11 years ago
Topic

Hi all.

Is there a manual / tutorial / documentation of some kind for the configuration of a SEBLOD 3 multilanguage setup with multiple sites?

Get a VIP membership
106 Posts
krkr
11 years ago
9
Level 1

Hi

Never saw any and from explanations it is hard to understand quick. For now I make one page multilanguage.

  • Enabled multilanguage in SEBLOD. SEBLOD -> Options -> Language -> JText: Yes
  • All necessary languages are enabled in Joomla.
  • Adding fields in SEBLOD Admin form. Also added here Content Language field, so it appears in exact language. For all fields which you are making enable "Translate with JText" if it is inside field options (checkbox, select, etc).
  • For field and field translation use (make new one) /administrator/language/overrides/xx-XX.override.ini and /language/overrides/xx-XX.override.ini files for each language one file for frontend and backend. syntax: COM_CCK_YOURFIELD="Beatiful name". If you have 3 languages, then it will be 6 files (3 admin + 3 page).

Mostly you are ready to go. How it will work in search and will it work I do not know, as for now I made only form and article.

Good luck

11 years ago
7
Level 2

Hi,

SEBLOD mutli-languages is working such as Joomla multi-language. So you can create one content and assign the language. You can associate translations to one content.

But SEBLOD allow another way to by managing in one content many languages.

Regards.

175 Posts
webcastor
11 years ago
0
Level 3

That would be quite interesting. I have seen a ZOO ZooLander plugin that filters individual content fields based on language. It would be nice to have that option in SEBLOD, too. It would essentially give a way to have one content item for all languages. The only problem - titles/aliases... ZL have solved it with their ZOOlingual extension, but only for the back-end, and quite clumsy :(

11 years ago
0
Level 3

Thanks, Octopos.

Can you recommend some seblod articles or docs for this?

106 Posts
krkr
11 years ago
1
Level 3

Hi Bes

Could you please be more informative on this one? 

"But SEBLOD allow another way to by managing in one content many languages."

I think most people do not have an idea what you are talking about. Including me.

Regards

233 Posts
pepperstreet
11 years ago
0
Level 4

Yep. I was about to post the same question ;-) 

Please, add a multi-language article about the different approaches in the docs section. Thanks in advance!

175 Posts
webcastor
11 years ago
0
Level 3

I think Sébastien is speaking of the next version (3.2) of Seblod :). I can't wait to see it by the end of this week.

Ali
11 years ago
0
Level 3
Hi,

I'm new to SEBLOD and Joomla! as well. If you can explain further this multi-language option, then it would be great for me and for other new bees.


Thanks & regards.
548 Posts
joomleb
11 years ago
0
Level 3
Yes, a guide / tutorial would be too appreciate,
Thank you
175 Posts
webcastor
11 years ago
0
Level 2

Actually, the quickest and most convenient way to create (JText) COM_CCK_ translations is through Extensions > Language Manager > Overrides. By selecting the - Administrator language, the front/back translation is just a click away (just check the For both locations check-box).

Also, since both labels and values are translated through JText, stick to English alphabet for field captions and values in field definition.

There was just one thing I was not able to override, and that is the field placeholder value. Maybe somebody knows a way to do it?

11 years ago
2
Level 1
Hi

We developped a multilanguages multi sites project last year. You can see it at http://www.bsb.univ-paris3.fr/ http://www.dbu.univ-paris3.fr/ http://www.cadist-anglais.fr/ for the French New Sorbonne.

It has been developped with Joomla 2.5 + Seblod 2.5.

The multi language setup is as any Joomla multi language site setup. Activate the multi language plugin, setup the multi language feature in languages manager. Unpublish the default menu module (set to ALL language), set up specific language for each menu. BUT DON'T associate any home page to a specific language!

We also had to patch some files:

Patch the cck.php (plugins/system/cck) file at line 654
REPLACE
if ( !( !$path || $path == 'index.php/'.@$my->alias || $path == @$my->alias.'.html' ) ) {
WITH

$pos = strpos($path, @$my->alias);
if ( !$path || $pos !== false ) {
You should NOT declare any language in the site/options seblod configuration. If you do the mod_languages.php module can't work and menu associations don't work (at least with the Joomla/seblod versions we use at that time)

Then change the helper.php file (from the /modules/mod_languages module) unless you can't see the flags
locate line 26 of helper.php 
if ($item->home) {
and replace with:
if (!$item->home) {

Beware of some Template Framework behaviors which don't manage multi sites correctly. For example Gantry didn't look for the default menu item for each site but always the first default menu item in the default menu (the one we don't use in a multi site project). We had to patch this... but at the end we replace Gantry with Warp (much faster!)
Cyril

10 years ago
1
Level 2

Hi Cyril

this is a multi-site indeed, but I fail to see the multilanguage part... Did you give up on that or did I miss a point ?

best regards

Stephan

10 years ago
0
Level 3

Hi,

To use multisite feature for language purpose, you will need to assign one language per site created into SEBLOD.

Thanks.

10 years ago
0
Level 1

As Octopoos-Bes said, seblod doesn't interfere with the Joomla multilang system.
The nature of Joomla's native multilanguage system is the largest hurdle you'll have to take.

Pay attention especially to

  1. separate menus per language
  2. assigned default menu item per menu
  3. links between corresponding menu items

You may find following tutorial interesting:

http://de.slideshare.net/erictiggeler/creating-a-multilingual-site-in-joomla-joomla-3-beginners-guide-eric-tiggeler

10 years ago
0
Level 1

Thank you so much Bes and Foto Vi, this is very helpful. Bes'post on the related topic is also very clear: SEBLOD does it all :)

Get a VIP membership