Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2007
    Posts
    18
    Plugin Contributions
    1

    Default How to make UMLAUTS work with ZenCart?

    Until last friday they showed up normally, cause the site was on my computer. Now I put the stuff on a server and each is À~ or so. So it thought installing the utf-8 files might help. Well after installing those all , , , , and , have become unreadable on my localhost version as well. haven't uploaded utf-8 stuff on server to see if paradoxically they would now show up the right way there.

    Is there any way to enforce UTF8?

    Would changing these lines in my language.php:s help (?) f.i.:

    finnish.php:
    Code:
    @setlocale(LC_ALL, 'fi_FI.ISO_8859-15' , 'fi_FI' , 'Finnish');
    swedish.php:
    Code:
    setlocale(LC_TIME, 'sv_SE.ISO_8859-1');
    english.php:
    Code:
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    AND how about the tables in the mysql? I installed the utf8 pack and it now added the zc_install/sql/ folder with a mysql_zencart.sql file. Could it be I just need to update my tables with this, and HOW to do that, since the sql update in admin doesn't recommend using the direct method...

    and nothing happens automatically though it's in the zc_install directory as the admin sql update suggests


  2. #2
    Join Date
    Nov 2007
    Posts
    18
    Plugin Contributions
    1

    Default Re: How to make UMLAUTS work with ZenCart?

    Anywoot, I finally just used PHPmyAdmin to export the DB as an sql file, then replaced all umlauts in a text editor to html character codes, since I couldn't get it to work... then dropped tables and imported again...with success.

    THIS WORKED

    The utf8 update made my ADMIN languages finnish and Swedish show every umlaut as a flipped square with a question mark inside. Still, the pages now show the way I want them to.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    5,792
    Plugin Contributions
    71

    Default Re: How to make UMLAUTS work with ZenCart?

    I love umlauts. In fact, I think Zen Cart itself should be spelled with umlauts to strike fear in the hearts of lesser carts.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  4. #4
    Join Date
    Nov 2007
    Posts
    18
    Plugin Contributions
    1

    Default Re: How to make UMLAUTS work with ZenCart?

    I got bored looking at squared question marks (sideboxes on=pll/off=ei pll in finnish) so I found myself a solution. Don't know if it will cause any problems but it shouldn't.

    I took my admin/includes/languages/ folder into an extended replace operation under Max's HTML Beauty++ and changed all Umlauts to their equivalent in html:

    Code:
    =ä
    =ö
    =Ä
    =Ö
    Just remember to put case sensitive on and include subfolders. And voil, the squares are umlauts again and admin-section looks right again.

    Ofc, I will have to repeat the export/import procedure to my sql base always after adding new products with descriptions or names containing umlauts.

  5. #5
    Join Date
    May 2007
    Posts
    3
    Plugin Contributions
    1

    Default Re: How to make UMLAUTS work with ZenCart?

    i think in order for umlauts to show correctly all the temlates (including the Admin ones) should be converted to UTF-8 if you put the UTF support on the card.

    If you have a finnish translation that is NOT UTF8 then that's why you are having problems

  6. #6
    Join Date
    Mar 2004
    Location
    Finland
    Posts
    488
    Plugin Contributions
    3

    Default Re: How to make UMLAUTS work with ZenCart?

    the Finnish language files are encoded as ISO 8859-15 and if you use UTF-8 then you get errors.

    I selected 8859-15 because setting it to UTF-8 messed many peoples sites because database encoding wasn't UTF-8

    Sometimes the server forces UTF-8 regardles of the locale settings in HTML

    When I updated my linux box and installed apache it made a mess of my zencart test sites ... config had this:


    Code:
    # Read the documentation before enabling AddDefaultCharset.
    # In general, it is only a good idea if you know that all your files
    # have this encoding. It will override any encoding given in the files
    # in meta http-equiv or xml encoding tags.
    
    AddDefaultCharset UTF-8
    After commenting it out (or changing to the appropriate encoding) the problem went away
    Working with Zen Cart since 2003 :: www.prr.fi
    Author of the original Finnish language pack for Zen Cart since 2004

  7. #7
    Join Date
    Aug 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to make UMLAUTS work with ZenCart?

    Hi there,
    I have a german-english website and also have a problem with the umlauts, they all show as suqare question marks.
    I'm rather new to zen cart and would really appriciate your help if you could explain, in very simple steps what you have done to change this.
    the umlauts aer showing well in the admin but not in the shop. the funny thing is that if i write in the english side an umlaut, it shows up perfect!
    I've also noticed that if I put in ä instead of , it shows fine, but I want mz client to be able to change the text without changing all the umlauts, is it possible?
    by the way, I'm using 1.38.
    Thanks a lot!

  8. #8
    Join Date
    May 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: How to make UMLAUTS work with ZenCart?

    I dont understand the solutions that are written in this thread but I need help.

    I have installed the german language pack and it is working properly except that the umlaut letter that I enter through admin (eg. adding new products) do not display properly. The umlaut letters that came with the language pack (eg. sidebox headings) display properly.

    I checked the german.php files in admin/includes/languages/custom
    and includes/languages/custom for the utf-8 thing and they look o.k. (eg. below)

    // charset for web pages and emails
    define('CHARSET', 'utf-8');

    Could someone provide me with a solution?

  9. #9
    Join Date
    Mar 2009
    Location
    Trowbridge, Wiltshire
    Posts
    121
    Plugin Contributions
    0

    Default Re: How to make UMLAUTS work with ZenCart?

    Hi I have a similar problem with the German language - did you ever find a solution to this?

    regards
    Scott

  10. #10
    Join Date
    May 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: How to make UMLAUTS work with ZenCart?

    Hi Scott,

    sorry for the delayed response. I am in the process of solving this problem for me.

    I will let you know when I have it fully figured out.

    In the mean time, can you tell me: Are you working from a german computer in Germany like me? I dont know for sure if it makes a difference but I suspect that some of my many convoluted problems are due to this.

    Josh
    Last edited by clueless_in_berlin; 27 Mar 2009 at 03:04 PM. Reason: spelling correction

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Does anyone know how to make Wordpress On Zencart work?
    By wanshifenda in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Mar 2010, 07:23 AM
  2. Replies: 0
    Last Post: 18 Dec 2009, 05:06 AM
  3. what do I need to do to make QPS work with Zencart?
    By Yolanda in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 23 Nov 2009, 09:57 PM
  4. Instructions: How to make shipping options work with google
    By MarcRTHCO in forum Addon Payment Modules
    Replies: 7
    Last Post: 30 Jul 2009, 02:30 AM
  5. how to make new invoice with zencart
    By MB1 in forum Managing Customers and Orders
    Replies: 4
    Last Post: 11 Dec 2006, 12:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR