Page 3 of 6

Re: Joomla 1.5 Language Files Manager Component

Posted: Sun Mar 04, 2007 7:50 pm
by lemings
I have set up Joomla 1.5 form nightly build, installed com_fftranslation.
Trying to use this component I recieve:

Fatal error: Call to undefined function: configuration() in /joomla15/administrator/components/com_fftranslation/view.php on line 222

Have enybody encountered same problem?

Re: Joomla 1.5 Language Files Manager Component

Posted: Thu Mar 08, 2007 7:52 pm
by igevans
lemings wrote: I have set up Joomla 1.5 form nightly build, installed com_fftranslation.
Trying to use this component I recieve:

Fatal error: Call to undefined function: configuration() in /joomla15/administrator/components/com_fftranslation/view.php on line 222

Have enybody encountered same problem?
This was caused by changes to the Joomla! core about a month ago - see previous posts for detail (12 Feb).  The latest forge download should not have this problem. Click the link in my signature and then download the latest version.  Obviously please tell me if the problem is still there.

I have a new version ready to go, but it includes packaging languages into installation zipfiles and I'm still looking at formats for the install XML.  Will post the changes and upload the latest version over the weekend, even if I can't get the install to work.

Ifan

Re: Joomla 1.5 Language Files Manager Component

Posted: Thu Mar 08, 2007 9:13 pm
by lemings
I red through all this topic. I have latest version,  I am not sure about Joomla status, but component is working properly on JSAS server in home computer.  I tried setting up test server for our comunity, but recieved this error. One more team mate reported having same problem even on JSAS.

Ok, I am waiting for Your update ;)

Re: Joomla 1.5 Language Files Manager Component

Posted: Fri Mar 09, 2007 9:51 am
by igevans
Latest version posted on forge here

This includes improvements to CSS, changing to Joomla! MVC structure, minor bug fixes and enhancements and most importantly, one-click creation of Joomla! Language Installation Files

Also component translations (bg,hu,nl) - updates to these and any new translations welcome, just post on the forum and I will include in the next release.

As usual, please post any issues here or send to me by email. 

Ifan

Re: Joomla 1.5 Language Files Manager Component

Posted: Fri Mar 09, 2007 8:36 pm
by aravot
After installing Translations Manager 1.5 #6772 every time I try to access a language I get the following error
Fatal error: Call to undefined function ampReplace() in home/mysite.com/administrator/components/com_fftranslation/views/translations/tmpl/files.php on line 90
My Joomla 1.5 revision is 6783

Database Version: 5.0.24a-standard-log
Database Collation: utf8_general_ci
PHP Version: 5.2.1
Web Server: Apache/2.0.54

Re: Joomla 1.5 Language Files Manager Component

Posted: Sat Mar 10, 2007 2:22 pm
by vamba
aravot wrote: After installing Translations Manager 1.5 #6772 every time I try to access a language I get the following error
Fatal error: Call to undefined function ampReplace() in home/mysite.com/administrator/components/com_fftranslation/views/translations/tmpl/files.php on line 90
Confirm.
I've the same SVN 6783 revision and the same problem

Re: Joomla 1.5 Language Files Manager Component

Posted: Sat Mar 10, 2007 2:55 pm
by igevans
Fatal error: Call to undefined function ampReplace() in home/mysite.com/administrator/components/com_fftranslation/views/translations/tmpl/files.php on line 90
This is caused by a function name change in the Joomla! Core on 5 March.  Unfortunately I can't foresee these changes, and they sometimes happen without warning.  I have tested a fix on Build 6781 (9 March) and I have updated the install package on the forge. Download again or just change line 90 of files.php to

Code: Select all

$link = 'index.php?option=com_fftranslation&task=edit&client_lang='.$this->options['client_lang'].'&cid[]='. $row->filename;
Also, the installation file packager will not create the zip file properly because of a bug in the Joomla! core. I've posted the bug, which has been fixed on SVN so will be in a nightly build very soon.  Read my postfor detail on how to fix in the meantime.  I haven't tested with archive formats other than zip, and I don't think they are working at the moment.

Thanks for the quick bug report - sorry about the delay in replying, my broadband packed up yesterday...

Ifan

Re: Joomla 1.5 Language Files Manager Component

Posted: Sat Apr 28, 2007 10:35 pm
by ivo.apostolov
JM, can we stick this topic.

Re: Joomla 1.5 Language Files Manager Component

Posted: Mon Apr 30, 2007 6:15 am
by infograf768
Done!

Re: Joomla 1.5 Language Files Manager Component

Posted: Mon Apr 30, 2007 7:58 pm
by leadict
Error by accessing to the component (Release 6772):
Fatal error: Undefined class name 'jmenubar' in home\mysite.com\administrator\components\com_fftranslation\views\translations\tmpl\languages.php on line 14

Warning: mysql_real_escape_string(): 51 is not a valid MySQL-Link resource in home\mysite.com\libraries\joomla\database\database\mysql.php on line 169

Warning: mysql_real_escape_string(): 51 is not a valid MySQL-Link resource in home\mysite.com\libraries\joomla\database\database\mysql.php on line 169

Warning: mysql_real_escape_string(): 51 is not a valid MySQL-Link resource in home\mysite.com\libraries\joomla\database\database\mysql.php on line 169
Tested on Joomla! 1.5 SVN 7226. There was a name change:
23-Apr-2007 Johan Janssens
^ Renamed JMenuBar to JToolBarHelper

Re: Joomla 1.5 Language Files Manager Component

Posted: Fri May 04, 2007 6:16 pm
by ivo.apostolov
So we should expect a patch soon :)

Re: Joomla 1.5 Language Files Manager Component

Posted: Sun May 06, 2007 11:56 am
by rbuelund
I get this error on Joomla! 1.5 beta 2: Fatal error: Call to undefined method JAuthorization::_mos_add_acl() in /usr/home/web/web174923/Test/administrator/components/com_fftranslation/admin.fftranslation.php on line 21 - when I try to acces the component

Re: Joomla 1.5 Language Files Manager Component

Posted: Tue May 08, 2007 5:45 am
by karol.cejka
igevans wrote: Latest version of the Translation Manager has now been uploaded to a new project on sourceforge:

http://forge.joomla.org/sf/frs/do/viewR ... ersion_1_5

Tested with the latest nightly build [6355].

Handles site, admin and installation files (but needs directory rights). 
Creates and deletes new languages (XML files and folders). 
Create, delete, publish, unpublish, checkin, checkout of language files (INI files).

Shows translation progress against reference language (very handy with the regular changes to nightly builds).
Shows translation progress for entire language sets.

Search all the files in a language set for phrase(s) with customisable CSS highlighting of matches.
Customisable "AutoCorrect" of text entry (handy for unusual characters/diacritics).
Customisable change of single-quotes to backticks.
Customisable global replace of a key=phrase combination (handy when the same combo is in many language files).

Thanks for the comments over the last couple of months.  Haven't really got the hang of sourceforge, so would welcome comments/bugs in the forum for the time being.

Hope someone finds it useful - it's been a good way of getting to know Joomla 1.5 for me.

Ifan
Can you please migrate this project to joomlacode.org? It is interesting piece of code and i will be happy if i can use it for translatinon ;)

Karol

Re: Joomla 1.5 Language Files Manager Component

Posted: Tue May 08, 2007 9:59 pm
by igevans
Sorry about the delay - I've been moving house and without phone or internet access for 3 weeks.  Starting to get back on track, and should have bugs and joomlacode sorted out within a few days.

Thanks to you all as usual for finding and reporting issues so quickly.

Re: Joomla 1.5 Language Files Manager Component

Posted: Wed May 09, 2007 5:29 am
by infograf768
NP. Waiting eagerly to get the last version.  :)

Re: Joomla 1.5 Language Files Manager Component

Posted: Fri May 11, 2007 2:12 pm
by it800cn
did this Joomla 1.5 Language Files Manager component works fine now?

where to download?

if possible , provide a brief on how to use it!

thanks...

Re: Joomla 1.5 Language Files Manager Component

Posted: Sun May 13, 2007 4:25 pm
by igevans
OK, I've done the code changes so the component works again.

Only think now is I'm waiting to be made admin for the project on joomlacode, following the migration from sourceforge.  Request is in since the middle of last week, so if anyone knows how i can speed this process up, or prompt the (almost certainly overworked) migration team on my behalf, I'd be very grateful.

Re: Joomla 1.5 Language Files Manager Component

Posted: Sun May 13, 2007 4:31 pm
by ot2sen
Hi igevans,

Will see if any of the joomlacode admins is around. If not, then just write a note in the dedicated joomlacode forum and you will probably get ownership in some hours  ;)
Joomlacode Forum: http://forum.joomla.org/index.php/board,406.0.html

PS.: Please have a look at your signature. Only excact URLs allowed, not text as link. Thanks.

Re: Joomla 1.5 Language Files Manager Component

Posted: Sun May 13, 2007 4:44 pm
by ivo.apostolov
I think you should be admin on default?

Re: Joomla 1.5 Language Files Manager Component

Posted: Sun May 13, 2007 6:32 pm
by user deleted
Hi igevans,

As JoomlaCode admin I have just assigned you as admin to the http://joomlacode.org/gf/project/joomla_1_5_tr1 project (Joomla 1.5 Translations Manage).

I will send you an email about how to proceed from here, with your project. If you have any further questions, please ask!

Re: Joomla 1.5 Language Files Manager Component

Posted: Mon May 14, 2007 9:15 pm
by igevans
New Release is now available from -

http://joomlacode.org/gf/download/frsre ... anager.zip

Sorry about the delay.  Thanks ot2sen, RobInk for your help.

Ifan

Re: Joomla 1.5 Language Files Manager Component

Posted: Mon May 14, 2007 9:22 pm
by karol.cejka
Great. I try it ASAP :)

Re: Joomla 1.5 Language Files Manager Component

Posted: Mon May 14, 2007 9:25 pm
by elkuku
Yes, me too
This is great news  :)

Re: Joomla 1.5 Language Files Manager Component

Posted: Mon May 14, 2007 9:35 pm
by Markku
Wonderful, thanks Ifan!

Re: Joomla 1.5 Language Files Manager Component

Posted: Tue May 15, 2007 5:16 am
by infograf768
Thanks, igevans. Testing.

Re: Joomla 1.5 Language Files Manager Component

Posted: Tue May 15, 2007 10:47 am
by Roman Blanty
Thanks, again :)

Re: Joomla 1.5 Language Files Manager Component

Posted: Wed May 16, 2007 4:01 pm
by rbuelund
Working fine - super !

Re: Joomla 1.5 Language Files Manager Component

Posted: Wed May 16, 2007 4:06 pm
by Roman Blanty
While saving installation ini it seems to loose trailing slash for new line mark ( \n => n )

Re: Joomla 1.5 Language Files Manager Component

Posted: Wed May 16, 2007 9:25 pm
by igevans
Roman Blanty wrote: While saving installation ini it seems to loose trailing slash for new line mark ( \n => n )
So it does, well spotted.  "Real" newlines are unaffected, but "\n" is stripped out by PHP addslashes(). Fix is to change the newlines first. 
Change line 539 in controller.php to:

Code: Select all

$value = trim( stripslashes( str_replace('\n',"\n",$FormValues[$k]) ) );
Will update the download on joomlacode, but most of you will probably find it easier to apply the fix manually.

Ifan

Re: Joomla 1.5 Language Files Manager Component

Posted: Sun May 27, 2007 2:29 pm
by infograf768
@Ifan

Please update the link on JED.  ;)

(For the reader: see http://joomlacode.org/gf/project/joomla_1_5_tr1/frs/)