Joomla! Discussion Forums



It is currently Sun Nov 22, 2009 4:28 am (All times are UTC )

 




Post new topic Reply to topic  [ 101 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
Posted: Tue Jul 25, 2006 7:13 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 25, 2006 4:52 pm
Posts: 25
Location: Ottawa, Ontario
Hello to all,

I'm experiencing a major problem on my development site that may push back the launch of our new website in October. Since forever, the translation for section title, name, and description would not show up on the French website. The same problem occurs for the categories. Everything is entered and published in the Fish component. I can see the French equivalence in the jos_jf_content table but not on the website!! BTW the rest (content, menus, modules, etc..) seems to be working like it should.

I am using Joomla 1.0.10 with Joom!Fish 1.7 Stable.
Web Server:  Apache   
MySQL version  5.0.21-standard
PHP version 5.1.4

Funny thing... For test, I did a fresh installation of Joomla 1.0.10 with Joom!Fish 1.7 Stable on our server using the specs mentioned above but still left with the same problem.

The same experiment was done on another server using PHP 4.4.2 and my problems went away.

Since my web hosting company can't "downgrade" PHP5 to PHP4, I am left with not a whole lot of options.

Could someone please help me on getting those translations to actually show up when they are called... :(


Last edited by danedner on Fri Aug 25, 2006 7:33 pm, edited 1 time in total.

Top
   
 
Posted: Tue Jul 25, 2006 7:32 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Mod note: moving topic to: multilingual sites

_________________
Regards Robin


Top
   
 
Posted: Wed Jul 26, 2006 3:50 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 27, 2005 2:35 am
Posts: 7
I have exactly the same problem for exactly the same reasons on three sites that I'm working on.

You can see the problem if you compare the following pages running on two identical sites on two servers - one running PHP4 and one running PHP5:

http://www.colf.ca/mamboshop/content/se ... frc/    (PHP5)  Category title and description not translated

http://www.generationstudios.com/mambos ... frc/    (PHP4)  Everything translated properly

We have tried clean installations (no 3rd party add-ons) with the latest Joomla! (1.0.10) and Joom!Fish (i.7) - the problem continues to exist.

I too am desparate for a solution.

I have been advised that there are some sites running PHP5 on which Joomla! and Joom!Fish are working properly. Could someone confirm this?

We need some clues as to where to look for a solution!


Top
   
 
Posted: Wed Jul 26, 2006 6:35 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi,

Can both of you give me an example, preferrably with two screenshots where the translation is working and in the other it is not? I can;t determine where you are expecting the translation, where it is going wrong.

Thanks and regards Robin

_________________
Regards Robin


Top
   
 
Posted: Thu Jul 27, 2006 1:27 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 27, 2005 2:35 am
Posts: 7
Robin,

If you check my earlier post you will see two URLs to two web sites. Both sites should be running as completely bilingual sites because they are identical (i.e. one is a copy of the other). The only difference is that one is running on PHP5 and the other one on PHP4. You can go to any page on the first site and then navigate to the same page on the other one to see the differences. You will see that all French pages on colf.ca (running on PHP5) only show some of the translated fields whereas on the generationstudios version (running on PHP4), all areas show the translated fields (remember all Joomla files and all MySQL files are identical on both sites).

As danedner pointed out, the problem areas are fields associated with sections and categories (i.e. titles, names and descriptions show the original language - English - instead of the French).

I hope this helps to clarify things.

Ron


Top
   
 
Posted: Fri Jul 28, 2006 1:31 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 25, 2006 4:52 pm
Posts: 25
Location: Ottawa, Ontario
Hi Robin,

Like Ron pointed out, I too have the same configuration and problem. Here are some sreenshots where the translation is not working with PHP5 on our development site. My example is in the section "Media Releases" (Fields not translated: Title, Name, Description).

The three screenshots should cleary show you our problem with those fields vs. PHP5.

Please let me know if you need more infomation from us.

We are desperate for any solution.

Daniel


You do not have the required permissions to view the files attached to this post.


Top
   
 
Posted: Sat Jul 29, 2006 8:34 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi,

I'll see what I can do, going to install a clean Joomla/JoomaFish first to see if I can replicate this behaviour.

_________________
Regards Robin


Top
   
 
Posted: Sat Jul 29, 2006 10:28 am 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
Are you using cache?
Try to switch off the SEF and see if the problem still exists


Top
   
 
Posted: Sat Jul 29, 2006 1:55 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 25, 2006 4:52 pm
Posts: 25
Location: Ottawa, Ontario
Thank you Robin. Let me know if you can replicate this behavior. If you can't, this may indicate that the problem could be on the server side and something is not setup right.

Ivo: No, I am not using cache. The problem still exists after I had switched off SEF.


Top
   
 
Posted: Sat Jul 29, 2006 5:06 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 27, 2005 2:35 am
Posts: 7
Thanks guys for the replies.

Ivo, like danedner, I've tried switching SEF off but it did not solve the problem.

Robin, good idea. I think we need someone to verify for us that Joom!Fish works properly on PHP5. If so then, as danedner suggests, things may begin to point back towards some kind of server setup issue.

Thanks again.


Top
   
 
Posted: Fri Aug 04, 2006 5:52 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi,

I've done a clean install on my WAMP/Localhost and translated the entire site. Everything is translating as it should, so I'm guessing this is indeed a server issue? You can verify my localhost setup below:

System Information
PHP built On: Windows NT 5.1 build 2600
Database Version: 5.0.22-community-nt
PHP Version: 5.1.4
Web Server: Apache/2.0.58 (Win32) PHP/5.1.4
WebServer to PHP interface: apache2handler
Joomla! Version: Joomla! 1.0.10 Stable [ Sundown ] 26 June 2006 00:00 UTC
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Relevant PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
Short Open Tags: OFF
File Uploads: ON
Magic Quotes: ON
Register Globals: OFF
Output Buffering: OFF
Session save path: c:/wamp/tmp
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
WYSIWYG Editor: No WYSIWYG Editor

_________________
Regards Robin


Top
   
 
Posted: Fri Aug 04, 2006 1:18 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Oct 27, 2005 2:35 am
Posts: 7
Thanks, RobinK for the time you've spent to confirm that Joom!Fish works properly on PHP5. This should be a big help in our ongoing troubleshooting with our ISP.

We will keep you informed.

Ron


Top
   
 
Posted: Fri Aug 04, 2006 5:53 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue May 30, 2006 11:12 pm
Posts: 40
Location: Vancouver, BC
ronbrush wrote:
I have been advised that there are some sites running PHP5 on which Joomla! and Joom!Fish are working properly. Could someone confirm this?


My site, http://jdlh.com, uses Joomla 1.0.10, Joom!Fish 1.7, and SEF turned on.  I also have OpenSEF installed at the moment.  It is based on PHP 5.

I haven't yet looked to see if it suffers from the specific problem described in this thread.  Right now I'm stuck by a different issue, the lack of both Friendly URLs and multilingual content at the same time (ie Open SEF and Joom!Fish together).

Here is my System information, from Joomla! -> Admin interface -> System menu -> System Info item -> System Info tab.  Note that it says: "PHP Version: 5.1.2".

System Information

PHP built On: Linux rum 2.4.29-grsec+w+fhs6b +gr0501+nfs+a32 +++p4+sata +c4 +gr2b-v6.189 #1 SMP Mon Feb 7 13:23:30 PST 2005 i686
Database Version: 5.0.18-standard-log
PHP Version: 5.1.2
Web Server: Apache/1.3.33 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e
WebServer to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.0.10 Stable [ Sundown ] 26 June 2006 00:00 UTC
User Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Relevant PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
Short Open Tags: ON
File Uploads: ON
Magic Quotes: OFF
Register Globals: OFF
Output Buffering: OFF
Session save path: /tmp
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
WYSIWYG Editor: No WYSIWYG Editor

_________________
Jim DeLaHunt, multilingual website consultant, Vancouver, Canada. http://blog.jdlh.com


Top
  E-mail  
 
Posted: Sat Aug 05, 2006 8:00 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi,

@ Ron, do keep me informed, this will help the Joom!Fish team as well.

@ Jim, I don't know the current status on OpenSEF but you might want to check if it works with Joom!Fish. It did not before...

_________________
Regards Robin


Top
   
 
Posted: Sat Aug 05, 2006 10:26 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 25, 2006 4:52 pm
Posts: 25
Location: Ottawa, Ontario
Thank you both, RobinK & Jim, for testing and confirming that Joom!Fish works well on PHP 5. The website that I'm currently developing is hosted by the same ISP's that Ron is experiencing problem with. Hence why I'm having the same problem. Now that we've got concret confirmations fom you guys, it's up to them to make the necessary adjustment on their servers.

I too will keep you informed on anything that could be beneficial to this project.

Dan


Top
   
 
Posted: Sun Aug 06, 2006 7:42 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue May 30, 2006 11:12 pm
Posts: 40
Location: Vancouver, BC
danedner wrote:
I'm experiencing a major problem on my development site that may push back the launch of our new website in October. Since forever, the translation for section title, name, and description would not show up on the French website. The same problem occurs for the categories. Everything is entered and published in the Fish component. ...


I just entered some section and category titles, names, and descriptions on my site, and I do not see the symptoms you describe.  My section titles, names, and descriptions show up in the German and Japanese translations as well as in the English primary language. Note that this site uses PHP5, as I described above.

Go to jdlh.com, select "News", then use the menu in the upper-right corner to select various languages. The page is a section, and the single "latest news" topic at the bottom is a category.  In both cases, the title, name, and description show up fine.

_________________
Jim DeLaHunt, multilingual website consultant, Vancouver, Canada. http://blog.jdlh.com


Top
  E-mail  
 
Posted: Wed Aug 09, 2006 7:56 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 25, 2006 4:52 pm
Posts: 25
Location: Ottawa, Ontario
I've visited your website (jdlh.com) and your section and category titles, names and descriptions showed up correctly. Everything seems to show up correctly on a site that uses PHP5 when a language is called.

Now, 3 tests have been made from 3 different persons (You, Robin, and Ron). All of which installed and uses the same versions/specs/technologies mentioned earlier in this post (see below).

All of the 3 tests concluded that Joomla 1.0.10 & Joom!Fish 1.7 stable works fine on PHP5 and that the symptoms described in this post are not present under this environment...

Except ours! Our ISP's (myself & Ron's) cannot or will not make this simple deduction. Therefore, I will have to ask myself some harder and deeper questions.

#1- Why not on ours?

#2- Why only these 3 fields?

There is a missing link vis-a-vis those 3 fields (titles, names and descriptions) and the PHP5 configuration on our server, I presume. I'm not an expert at PHP but could someone point me in the right direction in the core files of Joom!Fish regarding these fields and what relations does it have, or not in this case, with the setting in PHP5.

In other words, what's the path to that file, the file name and what's the code lines that controls those 3 fields and how is it interpreted on the server-side (PHP5).

I want to go knee deep in this to better grasp the mechanic of it all.

I hope these are valid questions that will give us clues to better pinpoint the problem.

Dan.


Top
   
 
Posted: Thu Aug 10, 2006 7:15 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi Dan,

I'll try to bring this topic under the attention of the Joom!Fish developers, they will be able to better answer your questions.

Regards Robin

_________________
Regards Robin


Top
   
 
Posted: Thu Aug 10, 2006 8:19 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 5:23 pm
Posts: 553
Location: Gogledd Cymru
Can anyone having these problems please trying viewing the site with one of the default templates just to eliminate the possibility that it is template code that is causing the problems.

Thanks

Geraint
Part of the Joomfish Development Team

_________________
email: opensourcematters at copynDOTplusDOTcom


Top
  E-mail  
 
Posted: Thu Aug 10, 2006 12:23 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 25, 2006 4:52 pm
Posts: 25
Location: Ottawa, Ontario
Geraint,

Like I mentioned on my first post, I did a fresh installation of Joomla 1.0.10 with Joom!Fish 1.7 Stable on our server using the specs mentioned below but still left with the same problem.

Here is the "clean" installation with rhuk_solarflare_ii as the default template: http://69.27.108.23/clean/

An example of the problem can be viewed under "section test en" in the main menu.

Thanks Geraint for having a look at this.

Daniel


Last edited by danedner on Sun Aug 13, 2006 4:13 pm, edited 1 time in total.

Top
   
 
Posted: Fri Aug 11, 2006 8:47 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 5:23 pm
Posts: 553
Location: Gogledd Cymru
I am strugging to recreat the problem but have discovered a possible clue:

compare

http://69.27.108.23/clean/index.php?opt ... 26&lang=fr

with

http://69.27.108.23/clean/index.php?opt ... 26&lang=fr

Just to confirm - you say the problem doesn't exists in versions of php prior to php5.1.4?

Geraint

_________________
email: opensourcematters at copynDOTplusDOTcom


Top
  E-mail  
 
Posted: Fri Aug 11, 2006 9:29 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 5:23 pm
Posts: 553
Location: Gogledd Cymru
Daniel

Did you by any chance set a "Page Title" for the menu item???

Geraint

_________________
email: opensourcematters at copynDOTplusDOTcom


Top
  E-mail  
 
Posted: Fri Aug 11, 2006 11:42 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 11, 2005 4:55 pm
Posts: 17
Hi, I have converted from Joomla1.0.8 Multilanguage (Mamblefish-Component by Ivo Apostolov) to Joomla1.0.10+Joomfish1.7.
I am using PHP 4.3.11.

The old Mamblefish component did not translate the section and category names on my frontpage.
But the new Joomfish1.7 component translates some names and mixes up others. Even though I did correct translations, Joomfish1.7 seems to use the translated names for other categories. Initially I thought it was an ID-Problem. So I deleted some categories and created new ones. Still the problem stayed on. Is this due to my PHP-Version?

Stefan


Top
  E-mail  
 
Posted: Fri Aug 11, 2006 12:00 pm 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
Could you gives us a link.


Top
   
 
Posted: Fri Aug 11, 2006 10:37 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 25, 2006 4:52 pm
Posts: 25
Location: Ottawa, Ontario
Geraint wrote:
Did you by any chance set a "Page Title" for the menu item???


If you are referring to the menu item "section test en", the type of menu for this item is a "List - Content Section". As far as I know, you can only show or hide the section title with this type of menu. The option to set a "Page Title" is available in a blog menu item format.

My example was misleading and I apologize for that. I should have named the menu item "menu item test en" instead of "section test en".

If you have a look again at this url: http://69.27.108.23/clean/index.php?option=com_content&task=blogsection&id=4&Itemid=26&lang=fr, the name of the menu item will show up and not the section name (section test en). I believe that this behavior is willingly cause because of that menu being displayed as a "Blog Content Section" format.

Geraint wrote:
Just to confirm - you say the problem doesn't exists in versions of php prior to php5.1.4?


I confirm that before our ISP's upgraded to PHP5, these problems did not exist.

Daniel


Last edited by danedner on Fri Aug 11, 2006 10:44 pm, edited 1 time in total.

Top
   
 
Posted: Sat Aug 12, 2006 8:19 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 5:23 pm
Posts: 553
Location: Gogledd Cymru
Daniel

In your test setup can you add the following line:

echo "name= ".$section->name."
desc = ".$section->description."
";

into the showSection function in components/com_contnt/content.php so that it reads :

function showSection( $id, $gid, &$access, $now ) {
global $database, $mainframe, $Itemid;

$section = new mosSection( $database );
$section->load( $id );
echo "name= ".$section->name."
desc = ".$section->description."
";
/*
Check if section is published
*/
...

And let me know what you see.

Thanks

_________________
email: opensourcematters at copynDOTplusDOTcom


Top
  E-mail  
 
Posted: Sat Aug 12, 2006 8:54 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 11, 2005 4:55 pm
Posts: 17
@Ivo:
Unfortunately I cannot give you a link, because for the moment I reverted back to Mamblefish. However I can give you a more precise description of the problem. I only seem to have the problem with section titles!

In Mamblefish I translated section and category titles from English into German:
City Stories --> Stadtgeschichten
Articles --> Artikel
Media Analyses --> Medienanalysen
Music --> Music

My Category titles are all displayed in the correct translations. But the above mentioned section titles display strangly in blog view and full view:
Only the section title "Media Analyses --> Medienanalysen" is translated correctly.
But the section title of content item A from "City Stories" is translated to --> "Medienanalysen" AND in another content item the section title "City Stories" is translated to --> "Music". This is really strange!
The section title "Articles" is not translated at all --> No Translation.

It is important to mention here that all the section title LINKS are correct, just the translated names are mixed up.
Do you have a clue what the reason could be for that?
Stefan


Top
  E-mail  
 
Posted: Sat Aug 12, 2006 9:29 am 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
Hmz, it seems that it is calling the database without getting the id of the section, but it is really weird, as this problem was solved months ago.

Probably we missed something somewhere


Top
   
 
Posted: Sat Aug 12, 2006 10:20 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 5:23 pm
Posts: 553
Location: Gogledd Cymru
teta wrote:
My Category titles are all displayed in the correct translations. But the above mentioned section titles display strangly in blog view and full view:
Only the section title "Media Analyses --> Medienanalysen" is translated correctly.
But the section title of content item A from "City Stories" is translated to --> "Medienanalysen" AND in another content item the section title "City Stories" is translated to --> "Music". This is really strange!
The section title "Articles" is not translated at all --> No Translation.

@stefan

Can I clarify what you are saying please.

When you look at the blogsection (your url wil include task=blogsection or the SEF equivalent) the section name and description are translated correctly but when you look at the content detail the wrong translation is picked up?

If so - as Ivo says this specific problem was fixed months ago and may suggest that your Joomla 1.0.10 upgrade didn't work properly.

Can you give me the exact form of the working and not-working URLs so that I can see exactly which bit of code is being (or should be ) executed.

Geraint

_________________
email: opensourcematters at copynDOTplusDOTcom


Top
  E-mail  
 
Posted: Sat Aug 12, 2006 1:13 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 11, 2005 4:55 pm
Posts: 17
@Geraint an Ivo: Clarification
Yes, the described translation error of "section titles" occurs in Blog-View and not in Detail/Content view. The content itself is translated correctly! In Blog view the "section title links" are also correct. - When you click on them you get to the right section. Just the names of sections are mixed up. ???

I started my upgrade from a Joomla1.0.8 multilingual plattform (with Ivos Mamblefish Translator).
The upgrade to Joomla1.0.10 was performed without problems. After the update to Joomla1.0.10 everything worked well.
If I upgrade to Joom!Fish1.7 now, everything is fine too. Except the described mixup of "section title names".
(--> To be 100% sure, I now even made another Joomla1.0.10 upgrade AFTER the Joom!Fish installation.)

As my site needs to be up 24/7, I am currently running a System with Joomla1.0.10 and old Mamblefish.
In order to provide the URLs you asked for I took it from the web and installed Joom!Fish1.7 for half an hour.


incorrect section title translation in blog view:
City Stories - Translation: "Medienanalysen" (instead of Stadtgeschichten)
http://doingculture.com/index.php?optio ... &Itemid=29

City Stories - Translation: "Filme" (instead of Stadtgeschichten)
http://doingculture.com/index.php?optio ... &Itemid=29

City Stories - Translation: "Musik" (instead of Stadtgeschichten)
http://doingculture.com/index.php?optio ... &Itemid=29

As you can see the links are correctly pointing to "City Stories", even though the section names are different each time.
Other section titles are not translated at all, like "Films", "Music", etc.

Can you get a clearer picture now?
(Remember: the site is now reverted back to Joomla1.0.10 and Ivo's old mamblefish component)
Stefan


Last edited by teta on Sat Aug 12, 2006 1:22 pm, edited 1 time in total.

Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page 1, 2, 3, 4  Next

Quick reply

 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group