Post by neophit » Wed Sep 12, 2007 10:05 pm

Romanian translation is on the road. For now, without special characters as ş, ţ, ă, â, î etc. Maybe later, maybe by somebody else...

Newbie

Posts

Joined
Wed Sep 05, 2007 2:28 am

Post by neophit » Fri Sep 14, 2007 4:09 am

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.

Newbie

Posts

Joined
Wed Sep 05, 2007 2:28 am

Post by claus » Sun Sep 23, 2007 5:35 pm

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.
Last edited by claus on Sun Sep 23, 2007 5:37 pm, edited 1 time in total.

Newbie

Posts

Joined
Sun Sep 23, 2007 5:29 pm

Post by madaha » Mon Sep 24, 2007 2:42 pm

I have exactly the same problem when switch English and Chinese and didn't find out the reason yet.

New member

Posts

Joined
Thu Sep 06, 2007 6:02 pm

Post by neophit » Mon Sep 24, 2007 3:16 pm

I'm sorry that i had answer so late. I'll investigate today.

Newbie

Posts

Joined
Wed Sep 05, 2007 2:28 am

Post by neophit » Mon Sep 24, 2007 4:39 pm

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.

Newbie

Posts

Joined
Wed Sep 05, 2007 2:28 am

Post by madaha » Mon Sep 24, 2007 8:37 pm

Please tell us how you slove the problem and where is the space locates. I want to try your way to slove my problem.

New member

Posts

Joined
Thu Sep 06, 2007 6:02 pm

Post by neophit » Tue Sep 25, 2007 10:21 am

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.

Newbie

Posts

Joined
Wed Sep 05, 2007 2:28 am

Post by razvanf » Thu Oct 25, 2007 1:16 am

Where can I download the Romanian language?

Newbie

Posts

Joined
Sat Oct 20, 2007 8:20 am

Post by tchemis » Thu Oct 25, 2007 7:23 pm

razvanf wrote: Where can I download the Romanian language?
All contributions, including the language files can be downloaded from: http://www.opencart.com/contribution

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am
Who is online

Users browsing this forum: No registered users and 1 guest