
I proudly present the Norwegian translation of opencart 

Sounds great!
However, I have a slight issue using Norwegian in the newest version (v.0.7.2). I have specified ISO-88591 encoding instead of UTF-8 (in both norwegian.php files) to support usage of special characters like "æ", "ø", and "å". This works for all text retrived from the language-files, but not if I use any special characters in a product or category name. Then they are transformed to question marks: "?". Do you have any idea on how to fix this? (I did not encounter this issue using v.0.7.1).
Note: I will upload an updated version of the norwegian languagepack in a couple of days (have to remove some typos).
However, I have a slight issue using Norwegian in the newest version (v.0.7.2). I have specified ISO-88591 encoding instead of UTF-8 (in both norwegian.php files) to support usage of special characters like "æ", "ø", and "å". This works for all text retrived from the language-files, but not if I use any special characters in a product or category name. Then they are transformed to question marks: "?". Do you have any idea on how to fix this? (I did not encounter this issue using v.0.7.1).
Note: I will upload an updated version of the norwegian languagepack in a couple of days (have to remove some typos).
You are correct.
The default encoding in my text editor was ANSI, which explains why UTF-8 didn't display my characters correctly. I changed both the encoding specified in the norwegian.php file and the encoding of home.php to UTF-8 and now it seems to work. Thanks for the tip!
Do you know any script/program that easily converts files from ANSI to UTF-8 (or do I have to write it myself?)? I would prefer not to open every single php-file and re-save them to change the encoding...
The default encoding in my text editor was ANSI, which explains why UTF-8 didn't display my characters correctly. I changed both the encoding specified in the norwegian.php file and the encoding of home.php to UTF-8 and now it seems to work. Thanks for the tip!

Do you know any script/program that easily converts files from ANSI to UTF-8 (or do I have to write it myself?)? I would prefer not to open every single php-file and re-save them to change the encoding...
If you like to program, you can use the PHP function utf8_encode that transforms a iso-8859-1 file into utf-8. Then just create a loop that opens all files (recursively if needed), converts them and closes them. Make a backup first 

Can you add them to the contribution section here:calande wrote: Where can we send translations? (I'm done with Brazilian Portuguese)
Thanks and have a nice week-end!![]()
http://www.opencart.com/Contribution/
OpenCart®
Project Owner & Developer.
Who is online
Users browsing this forum: No registered users and 1 guest