i just edited the admin panel language files in 1.4.7
now they are transleted into bulgarian language, but there are charset problem - i can't see the text correctly, but if i select the encoding to charset-1251 from my Browser - everything is OK
i tried to include charset-1251 in the:
admin/php.ini
admin\view\template\common\header.tpl
but without results
what should i do ?
now they are transleted into bulgarian language, but there are charset problem - i can't see the text correctly, but if i select the encoding to charset-1251 from my Browser - everything is OK
i tried to include charset-1251 in the:
admin/php.ini
admin\view\template\common\header.tpl
but without results
what should i do ?
Last edited by i2Paq on Fri Apr 16, 2010 2:11 am, edited 1 time in total.
Reason: Split from the OpenCart 1.4.7 BUG topic.
Reason: Split from the OpenCart 1.4.7 BUG topic.
Guess you have to adopt the header.tpl (admin) where the encoding is hard coded to utf-8
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
what to do with header.tpl?
i tried to remove the utf-8, to add charset 1251, to add them both, but no results ?
check this screenshot...
the strange thing is that the currency is showing correctly:
i tried to remove the utf-8, to add charset 1251, to add them both, but no results ?
check this screenshot...
the strange thing is that the currency is showing correctly:
Which encoding did you use to translate and save the language files?
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
i just copied the english files and edited themOSWorX wrote:Which encoding did you use to translate and save the language files?
i didn't found something to other to change?
Then you used UTF-8 as encoding.crazymaster wrote:i just copied the english files and edited themOSWorX wrote:Which encoding did you use to translate and save the language files?
i didn't found something to other to change?
The encoding must be set in the editor at saving the file(s).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Thanks OSWorX !
I didn't knew that!
Now everything is OK.
I will upload the bulgarian language and a few other plugins in the Extensions section soon, so and other people will be able to use them
I didn't knew that!
Now everything is OK.
I will upload the bulgarian language and a few other plugins in the Extensions section soon, so and other people will be able to use them

Warning: Cannot modify header information - headers already sent by (output started at /home/crazymas/public_html/AUTOCOLORTUNING.COM/admin/language/bulgarian/bulgarian.php:1) in /home/crazymas/public_html/AUTOCOLORTUNING.COM/system/engine/controller.php on line 27
how can i fix this problem?
when i try to login it shows it, if i enter the URL again, it takes me to admin panel?
how can i fix this problem?
when i try to login it shows it, if i enter the URL again, it takes me to admin panel?
it is possible this problem to be a problem of open cart?
i have dowloaded the first version/a few minutes after it was released/ ?
edit:
i found that the problem is in encoding
if i change the encoding to ANSI(all files on the server are in this encoding)- everything will be OK with this errors, but i dont see bulgarian characters correctly. so when i get it back to UTF-8 characters are OK, but i am getting this error and above the header logo i have about 10px white space, which i dont have usually
how i can fix this problem?
edit:
27-th line says:
EDIT2:
Problem is fixed - the problem was that bulgarian files was with encoding UTF-8, when i changed them to UTF-8 without BOM - everything was OK
Soon when i translete everything - i will upload the files in Languages section
i have dowloaded the first version/a few minutes after it was released/ ?
edit:
i found that the problem is in encoding
if i change the encoding to ANSI(all files on the server are in this encoding)- everything will be OK with this errors, but i dont see bulgarian characters correctly. so when i get it back to UTF-8 characters are OK, but i am getting this error and above the header logo i have about 10px white space, which i dont have usually
how i can fix this problem?
edit:
27-th line says:
Code: Select all
header('Location: ' . str_replace('&', '&', $url));
Problem is fixed - the problem was that bulgarian files was with encoding UTF-8, when i changed them to UTF-8 without BOM - everything was OK
Soon when i translete everything - i will upload the files in Languages section

Ever (!!!) save files (specially translations) WITHOUT BOM, otherwise you are using UTF-32 (very rare cases).crazymaster wrote:EDIT2:
Problem is fixed - the problem was that bulgarian files was with encoding UTF-8, when i changed them to UTF-8 without BOM - everything was OK
Soon when i translete everything - i will upload the files in Languages section
See also: http://en.wikipedia.org/wiki/Byte_order_mark
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Warning: Cannot modify header information - headers already sent by (output started at /home/farajahe/public_html/shop/catalog/language/persian/persian.php:1) in /home/farajahe/public_html/shop/system/library/currency.php on line 43Warning: Cannot modify header information - headers already sent by (output started at /home/farajahe/public_html/shop/catalog/language/persian/persian.php:1) in /home/farajahe/public_html/shop/system/engine/controller.php on line 27
helppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp
helppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp
Why crying so loud for help?
Read this topic and follow all advices.
Read this topic and follow all advices.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I did everything on this topic - Verified that the encoding was UTF-8 without BOM, but still the problem persists. Any other ideas?
EDIT:
Ok, found the problem!
If you modify the "powered by open cart" in the language you are using (in this case Bulgarian) - MAKE SURE YOU SAVE IT IN UTF-8 WITHOUT BOM !!!
So if you are using windows notepad, download notpad++ and modify the file /catalog/language/bulgarian/common/footer.php to be in the right encoding!!!
EDIT2:
This also fixes the problem with changing the currency!
EDIT:
Ok, found the problem!
If you modify the "powered by open cart" in the language you are using (in this case Bulgarian) - MAKE SURE YOU SAVE IT IN UTF-8 WITHOUT BOM !!!
So if you are using windows notepad, download notpad++ and modify the file /catalog/language/bulgarian/common/footer.php to be in the right encoding!!!
EDIT2:
This also fixes the problem with changing the currency!
Who is online
Users browsing this forum: No registered users and 2 guests