Brazilian Portuguese - No email subject

Having a question about translating phpBB3? Want to discuss and collaborate with people currently translating phpBB3? Here would be the correct place to do so.
Suggested Hosts
acpgomes
Registered User
Posts: 2
Joined: Wed Jun 17, 2009 7:34 pm

Brazilian Portuguese - No email subject

Post by acpgomes »

Hi,
I've just setup my phpbb 3.0.5, and add the language pack pt_br, the last one published at phpbbrasil.com.br, and the subscription emails just comes with the message "Não foi especificado o assunto do e-mail.‏" (see screen captures below), what means that "No email subjetct was especified". Unfortunally, the same problem happend when I requested an activation of my account at http://www.phpbbrasil.com.br. The problem does not happen when the default language is english.
Does someone have and idea on how to fix that?
I already had tried to update the language files manually (through phpbb interface), like common.php, or email and so on, but no effects. I still have replaced the file "functions_messenger.php", as someone commented in an post here at phpbb.com, but the error still persist.
By the way, could someone contact phpbbrasil.com.br and tell then that the site isn't working at all. The search engine fails, the registration process too, and the email [email protected] bounces.
Thanks in advance.
Regards.
Antonio Carlos.
You do not have the required permissions to view the files attached to this post.
angourakis
Registered User
Posts: 48
Joined: Sat Apr 30, 2005 6:35 pm
Location: São Paulo - Saúde (Brasil)

Re: Brazilian Portuguese - No email subject

Post by angourakis »

Hello acpgomes,

These problems occurs with 3.0.5 package? At your board or ours?

I couldn't find any bugs as you said but let's check deeple
Add me at Msn ok (sent by MP)

Thanks

Best Regards

Rafael =)
acpgomes
Registered User
Posts: 2
Joined: Wed Jun 17, 2009 7:34 pm

Re: Brazilian Portuguese - No email subject

Post by acpgomes »

Hello Rafael,
yes, the bug happend at both, mine and yours board.
Regards.
Antonio.
User avatar
Andre Távora
Registered User
Posts: 103
Joined: Tue Feb 27, 2007 9:03 pm
Location: Brazil
Name: Andre Távora

Re: Brazilian Portuguese - No email subject

Post by Andre Távora »

Hello acpgomes, welcome to phpBB.com.
These kind of error usually occur within an incorret file codification. An easy way to solve it is just downloading Notepad++ or a similar program and opening your e-mail files with that. Then, just convert your file codification into UTF-8 (without BOM) and save them.
But it's strange on this case because some of the letters are correctly written, but others not. Have you changed something in these files after downloading the pack?
Andre TávoraInternational Support Teams
Suporte phpBB - International phpBB Brazilian Support Team
AL4R_Dido
Registered User
Posts: 3
Joined: Fri May 08, 2009 4:43 pm

Re: Brazilian Portuguese - No email subject

Post by AL4R_Dido »

EU tenho um fórum, mas não está funcionando os boards.
Eles desapareceram, mas estão no meu painel de administrador.

Alguém pode me ajudar?

www.dido.phpbbfun.com
Esse é o link do fórum.


Fico aguardando, obrigado!
avengerx
Registered User
Posts: 1
Joined: Sat Sep 19, 2009 11:31 pm

Re: Brazilian Portuguese - No email subject

Post by avengerx »

I have just passed thru this problem. The solution is quite simply but tricky. The one who made the translation, while changing the file from english encoding to utf8 encoding, made it so three bytes appeared before the 'Subject: ' line on the emails.

To fix this, I went into language/pt_br/email/ and edited every file with vi (not vim) and removed the three first trash bytes from the file. Voila the emails are clean and with subject.
If you just open them with vim, vim decodes it to UTF-8 and the first bytes are hidden. Once you open with vi, it just does not decode and you can erase the bytes. Should work on notepad also. Once you remove the bytes and open the file again with vim (at least here at home) it no longer auto-decodes it as UTF-8. But anyway, the email is safe.

Not all files begin with these three bytes, and the ones needed to be changed are only the ones starting with Subject: <something>. The first line in vi looks like:

Code: Select all

Subject: <something>
I hope it helps!
User avatar
Andre Távora
Registered User
Posts: 103
Joined: Tue Feb 27, 2007 9:03 pm
Location: Brazil
Name: Andre Távora

Re: Brazilian Portuguese - No email subject

Post by Andre Távora »

avengerx, welcome to phpBB.com. Thanks for your contribution, i hope it can helps many users concerning that e-mails problem.

AL4R_Dido, please, don't post portuguese messages anymore. The phpBB.com community is open only for english posts. Well, about your problem, check the permissions of your forums, probably they are unavailable because you haven't set the correct permissions to them. If you need some brazilian support, please visit our support, wich link is quoted below in my signature.
I hope i could help you.
Andre TávoraInternational Support Teams
Suporte phpBB - International phpBB Brazilian Support Team
tenil
Registered User
Posts: 1
Joined: Sat Sep 26, 2009 4:09 pm

Re: Brazilian Portuguese - No email subject

Post by tenil »

Ok, it worked, but now I'm with another problem.
The welcome messages still contains errors.

The word "Fórum" looks like "F&oacute;rum" in all emails.

Example:
Bem-vindo ao F&oacute;rum Vota Brasília

Por favor, guarde este email para posteriores consultas. A informação da sua conta é a seguinte:

----------------------------
Usuário: usuario
Senha: senha

URL do Fórum: http://www.votabrasilia.com.br/forum
----------------------------

Por favor, não se esqueça que sua senha foi codificada em nosso banco de dados e não podemos recuperá-la para lhe fornecer caso à peça. No entanto, caso você esqueça-a, você poderá solicitar uma nova, sendo ativada da mesma forma desta conta.

Obrigado por registrar-se.

-- Obrigado,

votabrasilia.com.br
Please, help.

Thanks
User avatar
Andre Távora
Registered User
Posts: 103
Joined: Tue Feb 27, 2007 9:03 pm
Location: Brazil
Name: Andre Távora

Re: Brazilian Portuguese - No email subject

Post by Andre Távora »

tenil, welcome to phpBB.com.
It's simples to solve your problem. You will need only for a good PHP files editor, like Notepad++ (my favorite), from wich you can convert your files encoding to UTF-8 (without BOM), then saving your language e-mail files. Adjust the encoding of all your language files and resend them into your webserver.
Andre TávoraInternational Support Teams
Suporte phpBB - International phpBB Brazilian Support Team

Return to “[3.0.x] Translations”