portuguese translation offered as thanks

Discussion corner for Developers of Serendipity.
Post Reply
ctuga
Regular
Posts: 21
Joined: Mon Oct 27, 2008 11:03 pm

portuguese translation offered as thanks

Post by ctuga »

I'm portuguese my programming skills are limited however since i found out Serendipity my site has exacly the look i desired and working with this system is very very easy.
In appreciation for letting me use Serendipity and getting help around here, if there's any translation to portugues that some one whants just link me her to the file and i'll translate as soon as possible.
thanks a lot.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Thanks for the offer ctuga! Much appreciated. European or Brazilian Portuguese? Serendipity has both as core language, but a quick glance I just made suggests one is more current than the other. Perhaps we could get you the language files for the upcoming 1.4 release, and you could compare those to the english language files to see what needs to be added in the 2 Portuguese files, unless another developer here already knows them to be complete.

Another option for you would be to provide a Portuguese translation for the Bulletproof template, as that will be the default template beginning with serendipity 1.4.
=Don=
ctuga
Regular
Posts: 21
Joined: Mon Oct 27, 2008 11:03 pm

Re: portuguese translation offered as thanks

Post by ctuga »

European or Brazilian Portuguese are almost the same when translating almost all words are the same.
And yes i will gladly help on the Bulletproof translaton just point it out on a link here to the file to work with.
once again thanks
ctuga
Regular
Posts: 21
Joined: Mon Oct 27, 2008 11:03 pm

Re: portuguese translation offered as thanks

Post by ctuga »

When i add a password to a article, and just before i can see the article it askes for the password.
However just above the input text field it says:
This page is password protected. Please enter the appropriate password given to you:
and below the input it says:
newest headlines:
I'm using portuguese core and i want to get the above in portugues but can't find where these sentences are.
Can y please tell me where to find the file.It's not showing up in the translated file.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: portuguese translation offered as thanks

Post by garvinhicking »

Hi!

Those language strings come from plugins, in this case the serendipity_event_entryproperties plugin. Check the plugins/serendipity_event_entryproperties/lang_en.inc.php file and add your own lang_pt.inc.php file (or whatever translation you want to adapt) to translate that string.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ctuga
Regular
Posts: 21
Joined: Mon Oct 27, 2008 11:03 pm

Re: portuguese translation offered as thanks

Post by ctuga »

garvinhicking wrote:Hi!

Those language strings come from plugins, in this case the serendipity_event_entryproperties plugin. Check the plugins/serendipity_event_entryproperties/lang_en.inc.php file and add your own lang_pt.inc.php file (or whatever translation you want to adapt) to translate that string.

HTH,
Garvin
Thanks garvinhicking
But it's on the plugin folder/serendipity_event_staticpage.
I have to translate every thing to portugues, because there is no pt.inc on the folder.
ctuga
Regular
Posts: 21
Joined: Mon Oct 27, 2008 11:03 pm

Re: portuguese translation offered as thanks

Post by ctuga »

I've translated this script on attachment to my native language but can't get it to work in Portugues European we have some strings like this ones (ç, ão,á ) but not showing strings like it should.
I'v add the translated file to serendipity_event_staticpage folder and the UTF-8 followed some instructions in http://www.s9y.org/46.html but seems i'm not doing it well.
Can y please help?
thanks.
Attachments
lang_pt_PT.inc.rar
translation
(3.36 KiB) Downloaded 355 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: portuguese translation offered as thanks

Post by garvinhicking »

Hi!

Your file is in ISO-8859-1 encoding, but if you overwrite the file in the "UTF-8" subdirectory, it needs to be saved as "UTF-8" format. You should be able to instruct your editor to save files in UTF-8 charset. If you have the option, choose "UTF-8 NO BOM".

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
VladaAjgl
Regular
Posts: 44
Joined: Mon Nov 19, 2007 10:00 pm
Contact:

Re: portuguese translation offered as thanks

Post by VladaAjgl »

Hi,

I add that there is a translation tool for serendipity and all its plugins. It manages all the stuff around encoding automatically so you don't need to bother with it.

You can download it from
http://php-blog.cvs.sourceforge.net/vie ... slator.jar

or the newest version from
http://vlada.ajgl.cz/archives/170-Seren ... lator.html

Vlad
Post Reply