Spanish Language Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hbalagh
    Senior Member
    • Jun 2005
    • 101

    Spanish Language Problem

    This seems to be a common problem with languages other then english, this site is not owned by me but im working on it.

    We can get the post to display correctly but then the phrases in the templates do not display correctly then if can get the phrases to display correctly the post will not.

    the db collation is latin1_swedish_ci

    having the html characters set to ISO-8859-1 in the language settings makes the post ok but not the phrases

    switching it to UTF-8 makes the phrases correct but not the post

    how can i fix this (explained easily lol)
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74167

    #2
    Uncomment this line in your config.php file:
    // $config['Mysqli']['charset'] = 'utf8';

    Set the language to UTF-8 in the Admin CP.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • MaklooN
      New Member
      • Oct 2008
      • 3

      #3
      I am having a similar issue although mine is reversed.
      Setting language in CP to UTF-8 messes up the phrases but not the posts and setting it back to ISO messes up the posts and not the phrases.

      I tried uncommenting the line // $config['Mysqli']['charset'] = 'utf8'; in config.php and I got a Content "Encoding Error" on my browser

      My DB collation is latin1_swedish_ci

      Please help

      I only need to correct accents. They are currently displaying as �
      Last edited by MaklooN; Sun 26 Oct '08, 6:56pm.

      Comment

      • magamaga
        New Member
        • May 2007
        • 7

        #4
        Did you ever get a fix for this?


        Originally posted by MaklooN
        I am having a similar issue although mine is reversed.
        Setting language in CP to UTF-8 messes up the phrases but not the posts and setting it back to ISO messes up the posts and not the phrases.

        I tried uncommenting the line // $config['Mysqli']['charset'] = 'utf8'; in config.php and I got a Content "Encoding Error" on my browser

        My DB collation is latin1_swedish_ci

        Please help

        I only need to correct accents. They are currently displaying as �

        Comment

        • Kaitlyn2004
          Senior Member
          • Jul 2006
          • 137

          #5
          I'm having the problem of adding 3rd-party content to my page as the language is set as ISO-8859-1. When I change that to UTF-8, my "extra content" displays properly, but then some characters end up not displaying correctly.

          Uncommenting that line in the config file seems to make everything work at first glance. Could there still be problems I am not noticing? The column types in the database are latin1_swedish_ci

          Thanks!
          AskItOnline.com - Need answers? Ask it online.
          Create powerful online surveys with ease in minutes!
          Sign up for your FREE account today!

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74167

            #6
            In order to get the best possible support in the least amount of time, we suggest that you open your own thread with your details. Even if your issue is exactly the same as another thread, it is better if you open your own thread. We may not revisit old threads on a regular basis.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            Related Topics

            Collapse

            Working...