Firefox PHP

Proper portuguese (from Portugal)

Posted by pedrotuga 
All files from this thread

File Name File Size   Posted by Date  
Portuguese.php 32.7 KB open | download pedrotuga 01/28/2006 Read message
english.bak3.php 30.8 KB open | download pedrotuga 02/07/2006 Read message
Portuguese.php 32.6 KB open | download reinaldops 02/16/2006 Read message
Proper portuguese (from Portugal)
January 28, 2006 02:47AM
Hey!
I never thought portuguese from brazil was so diferent than portuguese from portugal. It took me hours to translate this file wich i thought i would only have to change ocasionaly here and there...

well.. it was almost a rewrite. Anyway here is the file!
For the portuguese guys like me use without having uknown brasilian words ;)

this is actualy kind of fun... i know brasilian ppl and i talk to them everyday... :) lolll, never thought it is this diferent.

I have just translated it.. now i am testing it and i already saw several items i want to change. So please se this as a beta.
Attachments:
open | download - Portuguese.php (32.7 KB)
Re: Proper portuguese (from Portugal)
February 07, 2006 12:03AM
i didnt have the file i tryed to use.

Anyway, i generated another one, and just removed the '***'.
and it didnt work :(
Attachments:
open | download - english.bak3.php (30.8 KB)
Re: Proper portuguese (from Portugal)
February 07, 2006 04:25AM
It's these variables in the generated file that give a problem:
  $PHORUM['DATA']['CHARSET'] = ;
  $PHORUM['DATA']['MAILENCODING'] = ;

Not having anything behind the = sign is a PHP syntax error. Just set the charset (probably "iso-8859-1") and mailencoding ("8 bit") in there and you'll be fine. If I take your portuguese.php and run it through the language processor, these values are nicely inherited from the default language file (english.php). The output of the processor also shows these:
  MISSING VARIABLE  	DATA->CHARSET set to default "iso-8859-1"
  MISSING VARIABLE 	DATA->MAILENCODING set to default "8bit"
I do not really see why this would not be done for you (since we're using the same source file). I did add an extra check to the processor in the development tree which might catch this situation.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Proper portuguese (from Portugal)
February 07, 2006 02:16PM
ok.. maybe i should have gone through a debugging process thats true. But no error message was outputed in the browser, and that doesnt realy made me so motivated to find errors. Sorry.

I'll fix my file.
Thanks.
Re: Proper portuguese (from Portugal)
February 07, 2006 02:40PM
Once you get no output in a browser, PHP was unable to parse some PHP in most cases. Parsing errors will not be shown in your browser. Instead, you can either check your server's error log or you can let PHP check the file (if you have PHP available locally).

And you don't have to say sorry for not being motivated to debug ;-)


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Proper portuguese (from Portugal)
February 16, 2006 10:58AM
corrected some typo errors and adjusted to the brazilian protuguese.
Attachments:
open | download - Portuguese.php (32.6 KB)
Re: Proper portuguese (from Portugal)
March 11, 2006 06:33PM
Olá Pedro,

Eu já tinha colocado aqui um ficheiro há bastante tempo atrás. Estou a adaptar novamente o ficheiro para a versão 5.1.x. Quando tiver pronto coloco-o cá de novo.

====

Hi Peter,

I posted my translation several time ago here in forum. I'm adapting the file to version 5.1.x. Whenever it's ready I'll post it again.

Thanks,
Re: Proper portuguese (from Portugal)
October 08, 2006 05:05PM
Hey guys update it for last version and with pure portuguese without (você) and that kind of brazilian words if someone need help check my mail and talk with me :)

We 3 can do team work :)



Edited 1 time(s). Last edit at 10/08/2006 05:05PM by cr1st0.
Re: Proper portuguese (from Portugal)
October 09, 2006 04:15PM
I havent update mine for a while.
There are some situations in wich the portuguese laguage does not offers a goog small length match, and long terms screw a bit the layout.


anyway... could you upload your file?
Re: Proper portuguese (from Portugal)
October 10, 2006 06:39PM
Hi,

I'm still working on it, in the end of month i will upload it complete and tested...for the last version of phorum.
Sorry, only registered users may post in this forum.

Click here to login