Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    SWEDEN
    Posts
    195
    Plugin Contributions
    0

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

    Hello there,

    Great catch!
    No brainsells?, LOL, I probably have LESS brainsells than you have.
    Most appreciated to your findings!

    And again Thanks!

    Internet is fantastic, nothing new, but you sit in New Zeeland and I in Sweden. Two oposite end of the world countries helping out each others.

    Now just have to find out which swedish code page to look for. I will run them through Notepad++/ WinMerge and see if I find them.

    Stefan

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Looks like BOM headers in your files. They are invisible to you when viewing the file in your text editor.

    When using UTF8 you need to save ALL your files WITHOUT BOM. That's a setting in your text editor's preferences.

    BOM = byte order mark
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

  3. #3
    Join Date
    Aug 2009
    Location
    SWEDEN
    Posts
    195
    Plugin Contributions
    0

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

    Hi Dr Byte,

    Huge thanks for always being here to help out.

    If I get it right, you mean the Swedish language files in the Swedish language pack (donloaded from www.zen-cart.com free add-ons) have been using UTF 8 with BOM?

    Does this mean I will have to re-save the programers files?

    If this is the case I will send the programer an email so he see this information as well.

    Your thoughts?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    I haven't inspected that addon myself. I simply stated what I think might be the problem. Test it for yourself by re-saving the files without BOM. Then decide what you wish to do after that.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

  5. #5
    Join Date
    Aug 2009
    Location
    SWEDEN
    Posts
    195
    Plugin Contributions
    0

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

    Hi,

    I just an email from the person who made the add-on. He told he had used "your" files and edited them. WOuldnt know where to look.
    Do you have a small hint, suspicion on where to look, part from resaving all as non UTF8?

    Personally I dont know where to start or even now how to save with or without UTF8. Its new to me.

    Is that done in Notepad++ or in the FTP program?

    Thanks as always
    Stefan

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Use Notepad++ to edit and save each of the files from the language pack. Tell Notepad++ to Save as UTF8-without-BOM.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

  7. #7
    Join Date
    Aug 2009
    Location
    SWEDEN
    Posts
    195
    Plugin Contributions
    0

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

    Hi DrByte,

    Okidoki, will do.
    Only there is quite many files in each language folder in admin/include/languages and in the include/languages.
    Havent started to count them yet. Is it ALL those files or just a few specific files?



    Thanks for the great support on this issue!
    Stefan

 

 

Similar Threads

  1. How big is too big=page size
    By daltonkost in forum General Questions
    Replies: 7
    Last Post: 21 Jul 2010, 06:13 AM
  2. CSS BIG font-size problem in IE
    By anduril3019 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Aug 2009, 09:09 PM
  3. Who's Online sidebox text size too big
    By rhg74 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Jun 2009, 05:31 PM
  4. attributes text size too big in firefox ?
    By monkey8 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 26 Feb 2009, 06:46 PM
  5. Font size is WAY too big when adding item to cart
    By wetjet in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Apr 2007, 10:42 PM

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