Page 1 of 1

Registration Form

Posted: Fri May 25, 2007 10:52 am
by webzub
Hi there.

I'm working with an Spanish version of Serendipity. I installed the registration form and it is working wonderfully. However, once I registered myself (in order to test it) and was forwarded it to the next screen (where it says that you will receive an email to confirm) the language is set to English.

Likewise the messages received to confirm and to receive the password.

As you can imagine it doesn't make much sense to have my visitors sign up in Spanish and then receive something some of them will not be able to understand.

I wonder, is there any way I could edit both the message of the next screen and email body texts?

Any help with this would be greatly appreciate it!

Re: Registration Form

Posted: Fri May 25, 2007 11:34 am
by garvinhicking
Hi!

THis is simply because no one has yet translated the registration form to spanish. You need to take a look at the plugin's "lang_en.inc.php" file (didrecotry 'serendipity_event_adduser' or 'serendipity_plugin_adduser') and translate it to the spanisch "lang_es.inc.php" file. If you send us that file then, we can include it in the distribution!

Also, if possible, create a lang_es.inc.php file in the UTF-8/ subdirectory. This file needs to be saved in UTF-8 format (Without UTF-BOM!) and the main file needs to be saved in ISO-8859-1-format.

Many other plugins are also not translated to spanish, so if you'd like to contribute, please go ahead! :)

Best regards,
Garvin

Thank you

Posted: Fri May 25, 2007 11:48 am
by webzub
I will go ahead and do it now. I'll let you know once is ready.

Thanks again for your prompt reply

Error found

Posted: Fri May 25, 2007 3:07 pm
by webzub
Well, I did just what you suggested but I don't know what I done wrong that I have now at the front page of the administration suite the following error:

Warning: Cannot modify header information - headers already sent by (output started at /home/content/html/serendipity/lang/UTF-8/serendipity_lang_es.inc.php:1) in /home/content/html/serendipity/serendipity_admin.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at /home/content/html/serendipity/lang/UTF-8/serendipity_lang_es.inc.php:1) in /home/content/html/serendipity/include/functions_config.inc.php on line 584

To the best of my knowledge I haven't modified any header information other than keywords and description but I dont think the error is about it cause the blog have not errors on it.

In additon, where should I send you the translated files? Any help please?

Re: Error found

Posted: Fri May 25, 2007 3:13 pm
by garvinhicking
Hi!

This is usually a typical error message that happens if your editor or your FTP client (or you yourself!) inserted any extra spaces/linebreaks BEFORE the first <?php or AFTER the last ?>.

Esapecially the UTF-8 BOMs I mentioned can appear there, and are usually hidden in an editor. You must specifically instruct your text editor to NOT place UTF-8 BOMs.
In additon, where should I send you the translated files? Any help please?
The best thing would be if you put up a ZIP file containing the two files and give me a link to it, then I can easily commit that.

Regards,
Garvin

The files

Posted: Fri May 25, 2007 5:01 pm
by webzub
These are the two files in Spanish:
http://www.onlinefilefolder.com/index.p ... 60d632caad

Please, download them today as the link will expire within 24 hours.

I'm still trying to find the problem but I can't see anything wrong. Any ideas what else could that be?

Please, if you find anything wrong with the files let me know.

Thank you

Re: The files

Posted: Fri May 25, 2007 10:59 pm
by garvinhicking
Hi!

Please upload it again next week. I'll be online on Tuesday again.

Regards,
Garvin
webzub wrote:These are the two files in Spanish:
http://www.onlinefilefolder.com/index.p ... 60d632caad

Please, download them today as the link will expire within 24 hours.

I'm still trying to find the problem but I can't see anything wrong. Any ideas what else could that be?

Please, if you find anything wrong with the files let me know.

Thank you