Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Jan 2004
    Posts
    58,262
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Font size differ English default but swedish is too big size of fonts

    As I said before, the "gibberish" in the top left corner of the page is probably BOM. And for that you need to fix all your language files.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #12
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Font size differ English default but swedish is too big size of fonts

    Any update? I have the same issue. Bigger font in local language. I changed from ANSI local files to UTF-8 (save as in notepad) the diacritics (no wrong characters on web page) is OK after that but font size is bigger.

  3. #13
    Join Date
    Jan 2004
    Posts
    58,262
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Font size differ English default but swedish is too big size of fonts

    Same answer.
    If there is output sent to the browser before the HTML and stylesheet are called, it may cause the page to display incorrectly. And the only thing that causes such output is incorrect file-encoding or actual errors in your templates or PHP code.

    And in the future, when you post, please answer all the questions in the Posting Tips section of the "Reply" or "New Thread" page. They're presented plainly on the page for a reason.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #14
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Font size differ English default but swedish is too big size of fonts

    Zencart 1.5
    installed via FTP
    localized from the old version 1.3 and here was the problem I think.
    I started from scratch now copied En files as new local language, translated few words in local version through Notepad++ with UTF8 without BOM and all looks well now. The text size and diacritics is OK!!!

    Only starting with localization from scratch and have question here.
    Already localized includes\languages\local.php and I see translation on the web correctly

    translated part of another file under includes\languages\local\header.php (to see header translated)
    switched to local language and web header (Home) is still in English, what could be wrong?

  5. #15
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Font size differ English default but swedish is too big size of fonts

    I see now that I only didnt see the header translated under the Classic templated, switched to another template I had installed the header is translated correctly. All size and diacritics is OK, only cannot see the header translated in the main template. Maybe you can explain why. Appreciate your help.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Global Font Size Setting: Changing Percentage and related EM Font Sizes
    By Donn in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Feb 2009, 09:20 PM
  2. bannerbox2 default font size?
    By ryanb4614 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Jun 2008, 11:12 PM
  3. Which part of the code need to change for PRICE $xxx fonts size
    By oavs in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 13 Nov 2007, 08:34 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
  •