Joomla 1.5 Language Files Manager Component

A place to discuss Joomla! translation matters.

Moderator: wendhausen

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 317
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by lemings » Sun Mar 04, 2007 7:50 pm

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?
Last edited by lemings on Sun Mar 04, 2007 7:51 pm, edited 1 time in total.
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org

igevans
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Thu Feb 09, 2006 10:36 am
Location: Wales

Re: Joomla 1.5 Language Files Manager Component

Post by igevans » Thu Mar 08, 2007 7:52 pm

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

User avatar
lemings
Joomla! Explorer
Joomla! Explorer
Posts: 317
Joined: Tue Oct 11, 2005 5:43 pm
Location: Latvia
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by lemings » Thu Mar 08, 2007 9:13 pm

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 ;)
Member of the Latvian Joomla Translation Team
Latvian project in JoomlaCode- http://joomlacode.org/gf/project/joomla_latvian/
Latvian Joomla! team  - http://www.joomlalv.org

igevans
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Thu Feb 09, 2006 10:36 am
Location: Wales

Re: Joomla 1.5 Language Files Manager Component

Post by igevans » Fri Mar 09, 2007 9:51 am

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

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by aravot » Fri Mar 09, 2007 8:36 pm

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

User avatar
vamba
Joomla! Guru
Joomla! Guru
Posts: 668
Joined: Thu Aug 18, 2005 2:56 pm
Location: Pontecosi
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by vamba » Sat Mar 10, 2007 2:22 pm

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
Member of the Italian Joomla Translation Team Since Sept.1th 2005

igevans
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Thu Feb 09, 2006 10:36 am
Location: Wales

Re: Joomla 1.5 Language Files Manager Component

Post by igevans » Sat Mar 10, 2007 2:55 pm

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

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Joomla 1.5 Language Files Manager Component

Post by ivo.apostolov » Sat Apr 28, 2007 10:35 pm

JM, can we stick this topic.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Joomla 1.5 Language Files Manager Component

Post by infograf768 » Mon Apr 30, 2007 6:15 am

Done!
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

leadict
Joomla! Guru
Joomla! Guru
Posts: 809
Joined: Thu Oct 05, 2006 12:13 am

Re: Joomla 1.5 Language Files Manager Component

Post by leadict » Mon Apr 30, 2007 7:58 pm

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
Last edited by leadict on Mon Apr 30, 2007 8:17 pm, edited 1 time in total.
"The skill of writing is to create a context in which other people can think" - Edwin Schlossberg.

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Joomla 1.5 Language Files Manager Component

Post by ivo.apostolov » Fri May 04, 2007 6:16 pm

So we should expect a patch soon :)

User avatar
rbuelund
Joomla! Guru
Joomla! Guru
Posts: 846
Joined: Sat Feb 10, 2007 9:07 pm
Location: Århus
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by rbuelund » Sun May 06, 2007 11:56 am

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
Ronny Buelund
Coordinator of the Danish Joomla Translation Team: http://danskjoomla.dk
Owner of http://ableit.dk

karol.cejka
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 177
Joined: Thu Nov 10, 2005 10:22 am
Location: Prague, Czech Republic
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by karol.cejka » Tue May 08, 2007 5:45 am

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
Karol Čejka · CET (UTC+1)
* Slovak (sk-SK) Joomla! Translation
* Slovak (sk-SK) Translation Services

igevans
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Thu Feb 09, 2006 10:36 am
Location: Wales

Re: Joomla 1.5 Language Files Manager Component

Post by igevans » Tue May 08, 2007 9:59 pm

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.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Joomla 1.5 Language Files Manager Component

Post by infograf768 » Wed May 09, 2007 5:29 am

NP. Waiting eagerly to get the last version.  :)
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

it800cn
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Dec 27, 2006 8:23 pm

Re: Joomla 1.5 Language Files Manager Component

Post by it800cn » Fri May 11, 2007 2:12 pm

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...

igevans
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Thu Feb 09, 2006 10:36 am
Location: Wales

Re: Joomla 1.5 Language Files Manager Component

Post by igevans » Sun May 13, 2007 4:25 pm

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.

User avatar
ot2sen
Joomla! Master
Joomla! Master
Posts: 10381
Joined: Thu Aug 18, 2005 9:58 am
Location: Hillerød - Denmark
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by ot2sen » Sun May 13, 2007 4:31 pm

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.
Ole Bang Ottosen
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Joomla 1.5 Language Files Manager Component

Post by ivo.apostolov » Sun May 13, 2007 4:44 pm

I think you should be admin on default?

user deleted

Re: Joomla 1.5 Language Files Manager Component

Post by user deleted » Sun May 13, 2007 6:32 pm

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!

igevans
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Thu Feb 09, 2006 10:36 am
Location: Wales

Re: Joomla 1.5 Language Files Manager Component

Post by igevans » Mon May 14, 2007 9:15 pm

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

karol.cejka
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 177
Joined: Thu Nov 10, 2005 10:22 am
Location: Prague, Czech Republic
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by karol.cejka » Mon May 14, 2007 9:22 pm

Great. I try it ASAP :)
Karol Čejka · CET (UTC+1)
* Slovak (sk-SK) Joomla! Translation
* Slovak (sk-SK) Translation Services

User avatar
elkuku
Joomla! Intern
Joomla! Intern
Posts: 97
Joined: Sat May 13, 2006 11:51 am
Location: Atacames
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by elkuku » Mon May 14, 2007 9:25 pm

Yes, me too
This is great news  :)

User avatar
Markku
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Wed Aug 17, 2005 10:17 pm
Location: Helsinki
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by Markku » Mon May 14, 2007 9:35 pm

Wonderful, thanks Ifan!
Finnish Translation Coordinator -
Member of the Finnish Joomla Translation Team  - http://www.joomlaportal.fi

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Joomla 1.5 Language Files Manager Component

Post by infograf768 » Tue May 15, 2007 5:16 am

Thanks, igevans. Testing.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
Roman Blanty
Joomla! Explorer
Joomla! Explorer
Posts: 372
Joined: Thu Aug 25, 2005 5:32 pm
Location: Internet
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by Roman Blanty » Tue May 15, 2007 10:47 am

Thanks, again :)
Proud Polish Joomla! Team Member > http://www.joomla.pl
Hardcore Translator ;)
Joomla! Translation Coordination Team
Jobs in IT: http://www.workita.com

User avatar
rbuelund
Joomla! Guru
Joomla! Guru
Posts: 846
Joined: Sat Feb 10, 2007 9:07 pm
Location: Århus
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by rbuelund » Wed May 16, 2007 4:01 pm

Working fine - super !
Ronny Buelund
Coordinator of the Danish Joomla Translation Team: http://danskjoomla.dk
Owner of http://ableit.dk

User avatar
Roman Blanty
Joomla! Explorer
Joomla! Explorer
Posts: 372
Joined: Thu Aug 25, 2005 5:32 pm
Location: Internet
Contact:

Re: Joomla 1.5 Language Files Manager Component

Post by Roman Blanty » Wed May 16, 2007 4:06 pm

While saving installation ini it seems to loose trailing slash for new line mark ( \n => n )
Proud Polish Joomla! Team Member > http://www.joomla.pl
Hardcore Translator ;)
Joomla! Translation Coordination Team
Jobs in IT: http://www.workita.com

igevans
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Thu Feb 09, 2006 10:36 am
Location: Wales

Re: Joomla 1.5 Language Files Manager Component

Post by igevans » Wed May 16, 2007 9:25 pm

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

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Joomla 1.5 Language Files Manager Component

Post by infograf768 » Sun May 27, 2007 2:29 pm

@Ifan

Please update the link on JED.  ;)

(For the reader: see http://joomlacode.org/gf/project/joomla_1_5_tr1/frs/)
Last edited by infograf768 on Sun May 27, 2007 2:31 pm, edited 1 time in total.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Locked

Return to “Translations”