Post by deejunit » Sat Aug 18, 2007 6:19 am

I proudly present the Norwegian translation of opencart  ;D

Attachments


New member

Posts

Joined
Sat Jul 21, 2007 5:40 am

Post by Daniel » Sat Aug 18, 2007 8:22 am

Many thanks for releasing this!

I'm going to add a contribution section in the next few days so there should be more contributions for OpenCart.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by deejunit » Sat Aug 18, 2007 5:43 pm

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).

New member

Posts

Joined
Sat Jul 21, 2007 5:40 am

Post by scandic » Sat Aug 18, 2007 10:08 pm

Sorry, but UTF-8 supports all norwegian special chars. Maybe you need to use another text editor. Using UTF-8 you can even write language files in chinese.

New member

Posts

Joined
Sun Jul 08, 2007 2:48 am
Location - Frankfurt, Germany

Post by deejunit » Mon Aug 20, 2007 5:56 am

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...

New member

Posts

Joined
Sat Jul 21, 2007 5:40 am

Post by scandic » Mon Aug 20, 2007 6:06 am

No, I don't know of such a script. I'm using eclipse IDE set to utf-8 by default. It transcodes the files automaticaly.

New member

Posts

Joined
Sun Jul 08, 2007 2:48 am
Location - Frankfurt, Germany

Post by calande » Sat Aug 25, 2007 2:53 am

You can use either TextPad or EditPad Pro. They allow you to open iso-8859-1 and to save as utf-8.

New member

Posts

Joined
Sat Aug 25, 2007 1:15 am

Post by deejunit » Sat Aug 25, 2007 5:54 pm

Actually I did it in Notepad. My question was, however, not which program I could use to do it file by file - but if there existed any script that would convert multiple files simultaneously...

New member

Posts

Joined
Sat Jul 21, 2007 5:40 am

Post by calande » Sat Aug 25, 2007 7:32 pm

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 ;)

New member

Posts

Joined
Sat Aug 25, 2007 1:15 am

Post by luvz2drv » Sun Aug 26, 2007 2:30 pm

php designer 2007 pro

I use - open all the files... and do a save with your pref to utf-8
and its done... :)

one big mass edit

luvz2drv


Post by Daniel » Sat Sep 08, 2007 7:54 pm

Can you please update the language files to the latest version?

I'm planing on including Norwegian translation in future releases.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by calande » Sat Sep 08, 2007 8:01 pm

Where can we send translations? (I'm done with Brazilian Portuguese)
Thanks and have a nice week-end!  ;)

New member

Posts

Joined
Sat Aug 25, 2007 1:15 am

Post by Daniel » Sun Sep 09, 2007 4:00 am

calande wrote: Where can we send translations? (I'm done with Brazilian Portuguese)
Thanks and have a nice week-end!  ;)
Can you add them to the contribution section here:

http://www.opencart.com/Contribution/

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by calande » Fri Sep 14, 2007 1:40 am

Thanks Dan! Done!  ;)

New member

Posts

Joined
Sat Aug 25, 2007 1:15 am

Post by Daniel » Fri Sep 14, 2007 4:42 pm

Can you add the files back again. I seem to have lost it when I uopdated the contribution section.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by calande » Fri Sep 14, 2007 6:15 pm


New member

Posts

Joined
Sat Aug 25, 2007 1:15 am

Post by Daniel » Fri Sep 14, 2007 9:52 pm

Sorry I meant Norwegian translation

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by deejunit » Mon Sep 17, 2007 6:39 pm

I will upload it as soon as I get the time to update it according to version 0.7.6... Hopefully I will get the time to do this within a couple of days

New member

Posts

Joined
Sat Jul 21, 2007 5:40 am

Post by deejunit » Thu Oct 04, 2007 5:19 am

Finally got the time to alter the files according to v. 0.7.6. Uploaded the zip-file in the contribution section.

New member

Posts

Joined
Sat Jul 21, 2007 5:40 am
Who is online

Users browsing this forum: No registered users and 1 guest