Forums » Installation

PLUG IN : Multi Language

superantoncito
SPAIN
2011-03-20 17:37:34
Permalink Post
 

Edited by Vaska

Don't cross post. Do not derail useful threads. Please read the forum rules.

A hack is a hack and we do monitor them around this forum. A plugin is a plugin and has a specific use. Do not post system hacks to this forum...they will be deleted as they are not in the better interests of the majority of our users.

goss
GREECE
2011-03-23 10:26:48
Permalink Post
 

@MBE
thanks for expanding it's usability - for some reason I can't get the 2.2 version to work though, can it be a jquery version issue? (which version have you tested with?).

MBE
FRANCE
2011-03-24 04:05:18
Permalink Post
 

I'm using jquery v1.4.2.
What problem did you encount with this plugin version ?
Do you have an url i can check ?
Here is my sample test site, fell free to look at the source code to understand.
TestSite

adega
SPAIN
2011-03-25 08:30:55
Permalink Post
 

Hi,
Thanks to all your help i finally have the site running with sections adn titles translated!! thank you very much ;)

Would be possible to have simple words (fr eng) instead of country flags for selecting the language?

Best regards,

adega
SPAIN
2011-03-25 12:11:01
Permalink Post
 

I crash the site trying to implement translation for Image title and Captions, no problem cause is a testing site :)

The problem seems to be that these boxes are not processing the html? thus, when inserting "

tqueiroz
BRAZIL
2011-04-06 07:46:58
Permalink Post
 

Hey, all, I have finally implemented the updated version by MBE and goss. It just works like a charm! Thank you guys so much!

My only concern now is the page title. I know right now there's a workaround using the title tags in theme's index.php, but my question is: how does Google see it?

I mean, without multi-language for section titles, Google shows me several entries for my website. Google shows entries like:

- Home: John's Portfolio
- Works: John's Portfolio
- Sketchbook: John's Portfolio

So, once I change index.php, will I lose all that? What have you guys been experiencing?

Oh, I have also noticed that now I don't actually need to use the derived span tag. I mean, on the same page, I can use:

  1. <span id="br" class="lg" style="display: block;">
  2. Portuguese Text
  3. </span>
  4. <span id="us" class="lg" style="display: none;">
  5. English Text
  6. </span>


Another Portuguese Text


Another English Text

This is great! I mean, no need to worry about indexing anymore :)

tqueiroz
BRAZIL
2011-04-06 07:49:53
Permalink Post
 

Ooops, the forum messed the code up, here's what I meant:

  1. < span id="br" class="lg" style="display: block;">
  2. Portuguese Text
  3. < /span>
  4. < span id="us" class="lg" style="display: none;">
  5. English Text
  6. < /span>

< span id="br" class="lg" style="display: block;">
Another Portuguese Text
< /span>
< span id="us" class="lg" style="display: none;">
Another English Text
< /span>

tqueiroz
BRAZIL
2011-04-06 07:51:31
Permalink Post
 

Aaaargh! Sorry, guys!

  1. < span id="br" class="lg" style="display: block;">
  2. Portuguese Text
  3. < /span>
  4. < span id="us" class="lg" style="display: none;">
  5. English Text
  6. < /span>
  1. < span id="br" class="lg" style="display: block;">
  2. Another Portuguese Text
  3. < /span>
  4. < span id="us" class="lg" style="display: none;">
  5. Another English Text
  6. < /span>
adega
SPAIN
2011-04-06 14:08:18
Permalink Post
 

Hi again, @tqueiroz what do you mean by "no need to worry about indexing anymore" and "span derive tags"? am i missing something important?

Btw i had too the same doubt about the titles...

Best regards,

tqueiroz
BRAZIL
2011-04-06 14:49:26
Permalink Post
 

Hi there, adega!

What I meant is that, before I did the modification explained by MBE and goss, in order to have my translations working properly, I needed to use and so on, if still works!

adega
SPAIN
2011-04-07 14:54:33
Permalink Post
 

Ok got it ;)

Do you know if the plugin is working wit IE6?? i tried on my school PCs and the menu is showing old (actually deleted) sections and titles...i tried with F5 but nothing happens....really weird :(

I noted something similar in some situations with Chrome too, for refresh and get showing the newly created sections/exhibits i had to select a language...

adega
SPAIN
2011-04-07 15:11:47
Permalink Post
 

Ok, confirmed, is not working properly (maybe is me, i know) at least in my site with IE6-7, it's ok with 9 (working better with IE 5.5 than 6 or 7..!!) and mid-way with IE8

Using http://ipinfo.info/netrenderer/index.php i show you my captures:
Rendered with IE5.5: http://i.imgur.com/Aluu3.jpg
IE 6: http://i.imgur.com/f82qQ.jpg
IE 7: http://i.imgur.com/i0phC.jpg
IE 8: http://i.imgur.com/dPIXP.jpg
IE 9: http://i.imgur.com/P5WQ2.jpg

tqueiroz
BRAZIL
2011-04-12 06:09:45
Permalink Post
 

Oh, bummer :-/

Vaska A
UNITED STATES
2011-04-12 10:15:29
Permalink Post
 

IE 6 and below are not even supported by MS anymore...they have officially given up on them.

gi
SPAIN
2011-04-28 05:36:29
Permalink Post
 

Hi everybody
just managed to get multi language to work (great plugin btw!). Here's the link.
Only issue remaining: it doesn't work for section titles.
It works with menu items; if I try to use the plugin in section titles, it just displays the two languages simultaneously.
I am using the last modified multilanguage plugin by MBE (this one)
Anyone has ideas on how to solve this?
Thanks a lot
Cheers, g.

gi
SPAIN
2011-04-28 05:37:03
Permalink Post
 

Hi everybody
just managed to get multi language to work (great plugin btw!). Here's the link to my website.
Only issue remaining: it doesn't work for section titles.
It works with menu items; if I try to use the plugin in section titles, it just displays the two languages simultaneously.
I am using the last modified multilanguage plugin by MBE (this one)
Anyone has ideas on how to solve this?
Thanks a lot
Cheers, g.

gi
SPAIN
2011-04-28 05:37:40
Permalink Post
 

oops.. sorry for the double post

gi
SPAIN
2011-04-28 07:18:32
Permalink Post
 

btw - just reverted to previous plugin version because this one didn't work with Chrome and IE (on PC). Has anyone had the same problem?

MBE
FRANCE
2011-04-28 09:47:41
Permalink Post
 

What's happen when you say didn't work" ? With wich release of navigator ?

I test it only on recent release of firefox, chrome, ie and safari under windows 7.

gi
SPAIN
2011-05-01 17:14:05
Permalink Post
 

@MBE: The plugin worked fine under Firefox, but in Chrome/IE all multilanguage text simply didn't show up (including menu items).

gi
SPAIN
2011-05-02 04:20:43
Permalink Post
 

Hi again,
I reinstalled the plugin and now it works on all browsers (I obviously did something wrong before). Still not working with section titles though.
Any ideas on where to start?
Thanks in advance,
g.

gi
SPAIN
2011-05-02 05:55:40
Permalink Post
 

IT WORKS!! The code for the section titles goes on the main Indexhibit page, and not under "Settings" as I had been doing ever since (in case someone else had the same issue)
Great plugin. Thanks to everybody!
g

aryvanini
ITALY
2011-05-13 08:17:13
Permalink Post
 

Hi guys
I'm having some problems with the plug in. I've followed all the instructions of the mb_multi_language.txt, then created this test page: test page multilanguage
But nothing happens... what am i doing wrong?
My english and my css/php skills are not very good..Any kind of help is really appreciated...
Thanks in advance!!

xlakex
SPAIN
2011-06-20 07:01:51
Permalink Post
 

Hi guys,

I have some problem with the plugin. I'm sure that I'm doing things wrong, but I'm learning some HTML with indexhibit.

So... I downloaded the 2.2 version of Ludovic's plugin.
- I let the flags into the IMG folder.
- I let mb_multi_language.js" file into SITE -> JS
- And I let the "plugin.mb_multi_language.php" file into SITE -> PLUGIN

Maybe the problem is with the Site Path, but I don't know.
- I wrote my site path in the line where appears the phrase "You may need to edit this line" in orange colour, and I wrote it again in the 27 line, behind "}else{", that is in the 26 line.

- I wrote in the Post Nav cause I want that the flags appear in the sidemenu.

- I put each new language in a div, like this

div id="es" class="lg">
Content in Spanish
/div>

div id="en" class="lg">
Content in English
/div>

So... the flags appear in the sidemenu, but when I click in them, the site doesn't change the language, and when I go to a post where i wrote the "div" for the two languages... it doesn't appear any text. What's the problem? I tried with that thing of "display:none" and "display:block", but nothing.

Thanks a lot!

alter
ITALY
2011-06-23 06:33:25
Permalink Post
 

I have the same problem of xlakex.

Help us, please!!

alter
ITALY
2011-06-23 06:33:39
Permalink Post
 

I have the same problem of xlakex.

Help us, please!!

marccat
SPAIN
2011-07-05 11:04:55
Permalink Post
 

Hi all,

I am having problems trying to translate the sections' names.

I'd like to know where to introduce the different-language code.

By now, I have tried typing it in the 'Section Name' field (Main>Sections list>Edit), but when I press 'Update', the html code disappears and only the text in the different languages remains.

I have also tried to introduce the code directly in the 'Main' page, editing the name of the section I want to translate.

It happens the same, and the multi-language does not work. It looks as if Indexhibit is having problems with the html code.

Could anybody give me a clue? Thanks in advance.

Marc

albertwifi
SPAIN
2011-07-07 07:26:43
Permalink Post
 

Yes, I think that I found a definitive solution:
http://indexhibit.albertserra.cat/index.php?/multilanguage/

I'm tring to build a plugin
you can contact with me at: hola@albertserra.cat

Regards!

oarf
UK
2011-07-08 06:32:26
Permalink Post
 

This topic has been absolutely brilliant, a massive help indeed :) I say it should go to the useful thread list.

@Marccat: I just stumbled upon this problem. I got around it by changing the section names from within MySQL, through phpAdmin or whatever equivalent you may have.

This is the website I've been working on: http://www.bistrapisancheva.com/
Translation works perfectly, the only thing left to do is fix the title and it's done.

neobuzman
SPAIN
2011-07-24 06:55:51
Permalink Post
 

Hi Guys,

First of all I want to say congratulations to all of you who have been improving this topic :D

Im not so brilliant in this stuffs, but I try during last 2 days, to follow all steps and now I dont know where I did wrong, so here my questions:

  1. what is the correct way to modify the $pathToSiteFolder line? I did like this but im not sure:
  2. $pathToSiteFolder ='http://alejandrobuzo.com/ndxz-studio/'// You may need to edit this line
  3. I managed to modify the ndxz.exhibit-edit.js with the 255 value,thats ok, but I dont know how to modify the indexhibit database with this values MBE says:
  4. ALTER TABLE `ndxz_sections` CHANGE `sec_desc` `sec_desc` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_german2_ci NOT NULL
  5. I thought MBE was speaking about the file "db.mysql" in ndzx-studio/db folder but I cannot find the previous text on it. could anyone help me?

Thanks guys

BTW: My website is http://alejandrobuzo.com/

neobuzman
SPAIN
2011-07-24 06:56:07
Permalink Post
 

Hi Guys,

First of all I want to say congratulations to all of you who have been improving this topic :D

Im not so brilliant in this stuffs, but I try during last 2 days, to follow all steps and now I dont know where I did wrong, so here my questions:

  1. what is the correct way to modify the $pathToSiteFolder line? I did like this but im not sure:
  2. $pathToSiteFolder ='http://alejandrobuzo.com/ndxz-studio/'// You may need to edit this line
  3. I managed to modify the ndxz.exhibit-edit.js with the 255 value,thats ok, but I dont know how to modify the indexhibit database with this values MBE says:
  4. ALTER TABLE `ndxz_sections` CHANGE `sec_desc` `sec_desc` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_german2_ci NOT NULL
  5. I thought MBE was speaking about the file "db.mysql" in ndzx-studio/db folder but I cannot find the previous text on it. could anyone help me?

Thanks guys

BTW: My website is http://alejandrobuzo.com/

comtour
POLAND
2011-10-01 09:59:32
Permalink Post
 
Hello all!
Please help me to execute the plugin correctly:
1) I copied files from the mb_multi_language 2.2 plugin pack to appropriate site folders
2) I've changed the paths in plugin.mb_multi_language.php
3) I put the the line in post-nav:
4) I wrote test text lines in main section

Unfortunately the plugin doesn't work. I see the flags but no text. What is wrong?
Piotr

comtour
POLAND
2011-10-01 10:00:00
Permalink Post
 
Hello all!
Please help me to execute the plugin correctly:
1) I copied files from the mb_multi_language 2.2 plugin pack to appropriate site folders
2) I've changed the paths in plugin.mb_multi_language.php
3) I put the the line in post-nav:
4) I wrote test text lines in main section

Unfortunately the plugin doesn't work. I see the flags but no text. What is wrong?
Piotr

quPi
ITALY
2011-11-07 02:32:55
Permalink Post
 

Hi,
I have the same problem as comtour. I installed the plug-in, the flags show, but when I put in text it disappears...

link:
www.mayrfingerle.com

quPi
ITALY
2011-11-07 02:33:17
Permalink Post
 

Hi,
I have the same problem as comtour. I installed the plug-in, the flags show, but when I put in text it disappears...

link:
www.mayrfingerle.com

Besenwiesler
GERMANY
2012-01-16 09:43:23
Permalink Post
 

Hi,

could anyone please answer the question of neobuz?

Which file has to be changed for increasing the title field size and in what folder is it in?

MBE
you need larger field size than standard one, to enable this, you need, in your indexhibit database, ndxz-objects table, to increase title field size
ALTER TABLE `ndxz_objects` CHANGE `title` `title` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_german2_ci NOT NULL

Thanks in advance

MBE
FRANCE
2012-02-10 03:58:19
Permalink Post
 

Hi,

When I speak about indexhibit database, I refer to the database (mysql for majority of users) and not to some files in Indexhibit folders.

So you have to go through your database administration tool (like phpmyadmin) to make some change in the database structure).

Be carefull, better know / understand what you are doing, even if it is only a minor change, it is only a trick to hack your Indexhibit setup, at your own risk, as you noted, I'm not quite available to provide support.

Best regards

MBE
FRANCE
2012-03-22 12:00:06
Permalink Post
 

Note that the last release of the plugin (2.2) has been tested on jquery 1.4.2 and up and could not work on older release.

jeanremy
BELGIUM
2012-03-24 10:52:49
Permalink Post
 

Hi! Since a week I tried to install the plugin (2.2) and just like all the participants above and I obtain the same results: the flags appears, but when I put the div (or span) into my text, the text disappears...
I don't think that a question of jquery (I've got the 1.4.2 as well)... neither a question of changing the mysql database (I don't even tried. If I'm not wrong it just concerns the titles, isn't it?)I suppose that it could be the php version used on my server (php5)...
but I'm not sure
Hope this help...
Any idea of where does the error come from?

jeanremy
BELGIUM
2012-03-24 10:57:16
Permalink Post
 


By the way: http://www.jeremydepuydt.com

MBE
FRANCE
2012-03-27 09:53:47
Permalink Post
 

Hi Jeanremy,

In fact you actually use the jQuery 1.1.2 library (in /site/js/jquery.js)

Best regard,
Michaël Bruyère

jeanremy
BELGIUM
2012-03-28 20:17:16
Permalink Post
 

Salut Michaël,
Thanx for the information, I mixed-up with another of my site(wich use jscrollpane).

Great! now it works fine, I just have to make it work for the title sections.

Just one question: how did you do to know what version I used?
(It would be very helpfull)

Thanx!

lemathieu A
FRANCE
2012-03-29 02:30:50
Permalink Post
 

@ jeanremy : right-click on your page > "show me the source code" > find the jquery link (line 22) > click on it > on the top of the new page, you got the info.

adega
SPAIN
2012-03-29 05:51:27
Permalink Post
 

Running fine on my site with 1.3.2 version too

MBE
FRANCE
2012-03-29 09:22:21
Permalink Post
 

@jeanremy thanks to:lemathieu all is said.

jeanremy
BELGIUM
2012-03-29 09:31:46
Permalink Post
 

Well! thank you lemathieu!
(for info, it can be found as well with firebug, in "wired" section, I 've just found it )

jeanremy
BELGIUM
2012-03-30 16:26:30
Permalink Post
 

Hi again!
Just one more thing...I can't make it work for the PAGE title (in fact the "li" items)
I succeed to make the plugin work :

1)for the content,

2)for my Buttons (ABOUT/CONTACT/SHOP/LINKS wich are not section-titles but div located in my index.php) I just followed the "read me file" and putted "span" instead of div;

3)for my sections-title as well (ANIMATION/ILLUSTRATION)I change the sec_desc table in my database like this (printscreen1) and the title table like this (printscreen2),

I tried to modifie the "ndxz-studio/asset/js/ndxz.exhibit-edit.js" in line 127 and 146 (255)
But I can't write more than 35 characters in the field

Here's another printscreen (to be the clearest as possible)

I'm realy stuck in this, can someone help me?

thx


jeanremy
BELGIUM
2012-03-30 16:32:21
Permalink Post
 

www.jeremydepuydt.com

jeanremy
BELGIUM
2012-04-01 19:42:09
Permalink Post
 

Anyone? @MBE @goss @adega @tqueiroz @superatoncito how did you manage to make this run to your pages titles?

thx

lemathieu A
FRANCE
2012-04-02 03:44:41
Permalink Post
 

@jeanremy : with this thread

Showing 51 - 100 of 164 posts in Forum > Installation > PLUG IN : Multi Language