Page 1 of 1

Romanian translation on the road...

Posted: Wed Sep 12, 2007 10:05 pm
by neophit
Romanian translation is on the road. For now, without special characters as ş, ţ, ă, â, î etc. Maybe later, maybe by somebody else...

Re: Romanian translation on the road...

Posted: Fri Sep 14, 2007 4:09 am
by neophit
The translation for the front-end is available. For admin section, well, next week. Install notes also available. For problems (bugs in translation) please contact me.

Re: Romanian translation on the road...

Posted: Sun Sep 23, 2007 5:35 pm
by claus
I have some problems with the romanian translation. "Account" and "Checkout" links on the top menu doesn't work.
When I click on account for example, I receive this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/shop/catalog/language/romanian/romanian.php:1) in /home/mysite/public_html/shop/library/environment/response.php on line 22

Same error when I switch languages, any idea what causes the problem? Thanks.

Re: Romanian translation on the road...

Posted: Mon Sep 24, 2007 2:42 pm
by madaha
I have exactly the same problem when switch English and Chinese and didn't find out the reason yet.

Re: Romanian translation on the road...

Posted: Mon Sep 24, 2007 3:16 pm
by neophit
I'm sorry that i had answer so late. I'll investigate today.

Re: Romanian translation on the road...

Posted: Mon Sep 24, 2007 4:39 pm
by neophit
Yeap. I found the problem. As it was expected it was in the romanian.php file. Quite stupid, though. It seems that my file editor (Notepad++ configured to encode all files as UTF-8) had included a space (or something like it) in the file, and the consequence of this was the breaking of the header that is sent to the browser. As I sad, stupid.

I will corect this and i will upload the new version. Thank you for your time. I know how frustrating this can be.

Re: Romanian translation on the road...

Posted: Mon Sep 24, 2007 8:37 pm
by madaha
Please tell us how you slove the problem and where is the space locates. I want to try your way to slove my problem.

Re: Romanian translation on the road...

Posted: Tue Sep 25, 2007 10:21 am
by neophit
This worked for me (so it seems, anyway...):

- Notepad++ is my default code editor;
- is configured to encode all files as UTF-8;
- but it seems that it will add a wired "space" at the begining of the file (didn't know why, but thank God for Google);
- the solution is to re-encode the file as ANSI and save it. that "space" was gone. the "space" can be seen in Total Commander when you view the code of the file (F3). on my file it add this "", right at the beginning of the file. even now, if i convert the file from ANSI to UTF-8 will add that nonsense.

Look here a good explanation:

"Headers must be written before any data is sent to the client. Unicode files may include a Byte-Order Mark (BOM) to help distinguish the big endian and little endian byte order. Unfortunately, the BOM isn't understood by PHP. Upon encountering the BOM, PHP assumes that it is dealing with data, by which time it's too late to modify headers. Solution? Save the file in UTF-8 encoding without a BOM."

Notepad++ know to encode a file as UTF-8 without BOM. But, at that time, I didn't knew what was that so I used simple UTF-8 that PHP have problem with it. Again, sorry. Hope this information may help somebody.

Re: Romanian translation on the road...

Posted: Thu Oct 25, 2007 1:16 am
by razvanf
Where can I download the Romanian language?

Re: Romanian translation on the road...

Posted: Thu Oct 25, 2007 7:23 pm
by tchemis
razvanf wrote: Where can I download the Romanian language?
All contributions, including the language files can be downloaded from: http://www.opencart.com/contribution