OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



PKP Harvester portuguese translation

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

Forum rules
Developer Resources:

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome.

PKP Harvester portuguese translation

Postby ramon » Mon Apr 07, 2008 12:26 pm

Hello all,

The System Development area at IBICT is now working on remodeling and fixing the harvesting issues with the OASIS.BR project.
I've made the "translation" available, although incomplete, to my test harvester and it is not detecting Portuguese.

I've created the locale files, edited registry/locales.xml accordingly, added the e-mail templates locale in dbscripts, as well as the plugins and the main locale file.

What am I missing?
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: PKP Harvester portuguese translation

Postby asmecher » Tue Apr 08, 2008 9:27 am

Hi Ramón,

Have you made the translation active using the Site Administrator's "Languages" page? If it's not showing up there, you may have a file permissions problem in your cache directory; try deleting all .php files there and making sure the permissions are set on the directory.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9220
Joined: Wed Aug 10, 2005 12:56 pm

Re: PKP Harvester portuguese translation

Postby ramon » Tue Apr 08, 2008 1:59 pm

Alec,

I cleared all cache files (using rm -Rf harvester/cache/*.php).
Nothing happened.
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: PKP Harvester portuguese translation

Postby asmecher » Wed Apr 09, 2008 1:24 am

Hi Ramón,

And the Portuguese language doesn't appear anywhere on the Site Admin's "Languages" page? Are you sure you changed the heading on the main locale file (locale/pt_BR/locale.xml) so that it no longer reads en_US and US English?

If none of these helps, please send me the locale files and I'll test locally.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9220
Joined: Wed Aug 10, 2005 12:56 pm

Re: PKP Harvester portuguese translation

Postby ramon » Wed Apr 09, 2008 1:44 pm

Hello Alec,

There were indeed some problems with the locale files, regarding the naming convention.
I managed to fix that, but now I need to find an illegal character:
Code: Select all
Invalid character
Warning: Cannot modify header information - headers already sent by (output started at /home/www/oasisbr/harvester/classes/xml/XMLParser.inc.php:76) in /home/www/oasisbr/harvester/classes/core/Request.inc.php on line 41
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: PKP Harvester portuguese translation [FIXED]

Postby ramon » Wed Apr 09, 2008 1:56 pm

Hello Alec,

Somehow a closing ">" for the <locale> tag of one file was missing.
Now I have to fix some of the translations.
I used VI, but it didn't save as UTF-8, so some characters are missing, but now the Portuguese locale is available.
As soon as it's finished, I'll send it for approval.

I sent OCS's locale files, but it's still unavailable for download....
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: PKP Harvester portuguese translation

Postby jmacgreg » Thu Apr 10, 2008 11:26 am

Hi Ramon,

Just a quick note re: our language pages: They're being updated as we speak, hopefully to be much clearer in the future. In the meantime I'll put the OCS Portuguese file up right away.

As always, many thanks for the translations.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: PKP Harvester portuguese translation

Postby ramon » Fri Apr 11, 2008 2:08 pm

Hello PKP Team,

Thank you for posting the OCS unofficial Translation. We receive lot's of requests for it.

I have 2 questions:
1 - On IE6, the "until" the first select field options are broken. On Firefox everything's fine.
Here's what happens:
Code: Select all
Até janeiro fevereiro mar篼/option> abril maio junho julho agosto setembro outubro novembro dezembro 

Março (March) is not being printed correctly, and I think this is what's breading the select.
How do I fix the locale problem in Apache?
This is the directory config in an .acl file loaded by apache:
Code: Select all
<Directory /var/www/oasisbr>
php_flag output_buffering 0
php_flag session.auto_start 0
php_value memory_limit 256M
php_flag register_globals 0
php_value default_charset "utf-8"
php_flag error_reporting 2039
php_value upload_max_filesize 35M
php_value set_locale pt_BR.UTF-8
</Directory>


2 - I need to run Harvester under an Iframe in Joomla!. I've managed to resize the Iframe via Javascript. Now I need to create the search pages without all the info, just the plain forms. Any suggestions as to what files I need to copy and rename? or just creating new templates with the forms will be just fine?
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: PKP Harvester portuguese translation and Joomla Integreation

Postby ramon » Mon Apr 14, 2008 12:50 pm

Hello all,

Glad to inform that I managed to "integrate" PKP Harvester with Joomla!.
The changes where mostly in template/common/header.tpl, removing CSS calls and unnecessary page items (like menu, info and sidebar).
The harvesting will be done by another PKP Harvester installation, probably running via Virtual Machine, so it can be executed from any XP box.

I tried creating different pages for the search, but it became too difficult to solve the problems when objects and variables where already declared in other pages.
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: PKP Harvester portuguese translation

Postby asmecher » Tue Apr 15, 2008 12:31 am

Hi Ramón,

Excellent, glad to hear it! Is the Joomla integration available somewhere live on the web?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9220
Joined: Wed Aug 10, 2005 12:56 pm

Re: PKP Harvester portuguese translation

Postby ramon » Tue Apr 29, 2008 5:11 am

Hello Alec,

It's not available yet, but it's not really "integration".
It's just using Joomla!'s wrapper component to display the search forms, then modified the templates/common/header.tpl replacing the CSS files for Joomla's and removing the unnecessary content (sidebar, login, etc).
There will be a virtual machine on a pendrive, to run the actual harvesting from another machine (which could be any machine!) to relieve the server and allow the managers to run the harvesting from wherever they want to.
The OASISBR Repository is online, but not working well as you can see.
The project managers are running latest tests so that we hope to relaunch this week the updated version.

We had to tune up MySQL, though. The current harvester version is running a few strange queries that slow down the server, unnecessarily.
Since we'll update the software, we'll wait to see if it's a version problem or some modification made by the previously hired consultant.
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: PKP Harvester portuguese translation

Postby asmecher » Tue Apr 29, 2008 8:50 am

Hi all,

FYI, this discussion continues at http://pkp.sfu.ca/support/forum/viewtopic.php?f=10&t=3043.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9220
Joined: Wed Aug 10, 2005 12:56 pm


Return to Open Harvester Systems Support and Development

Who is online

Users browsing this forum: No registered users and 1 guest