ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

language problem

September 04, 2007 4:37pm

Subscribe [1]
  • #1 / Sep 04, 2007 4:37pm

    vest

    16 posts

    Hi

    i just finished developing a site for a client. I placed the system in a temporary area and earlier today I tried to move the site in the correct location on the server. This site is in icelandic and everything related to the language has worked perfectly until today. After I moved the paths I got incorrect language output. I ahve tried everything, even trying to reinstall. This is very strange and I really would like some help on what might be the cause.

    Thanks in advance

    Siggi

  • #2 / Sep 04, 2007 5:01pm

    Lisa Wess

    20502 posts

    Hi, Siggi, welcome to the forums. =)

    Can you answer a few questions:

    1) Version of EE
    2) Build of EE
    3) Were there any database import/exports?
    4) Link to the site where we can view the problem
    5) What charset you are currently using, and what charset your database is set to.

    Thanks!

  • #3 / Sep 04, 2007 5:14pm

    vest

    16 posts

    I hope you don’t mind I pm’d you the info.

    Thank you very much.

    Siggi

  • #4 / Sep 04, 2007 5:44pm

    vest

    16 posts

    Thanks for giving me forum guidance.

    The version is 1.6.0
    The build is 20070815

    The database has been filled during the development, but I have all necessary backups in place.

    The database charset is: UTF-8 Unicode (utf8)
    The EE system is set for utf-8 for content, but windows-1251 for XML.

    Like I said before, everything has been appearing correctly until I moved the index.php to a new location on the server. Even the control panel and templates show the icelandic chars but not on the generated pages.

  • #5 / Sep 04, 2007 5:47pm

    Lisa Wess

    20502 posts

    Did you move the database at all? Sometimes imports and exports can cause unforeseen problems like this, which is why I ask.  Also, is this all on the same server or have you moved it, and do you know the charaset for both the database and the charset for the server?

  • #6 / Sep 04, 2007 5:47pm

    vest

    16 posts

    One more info for this strange problem. The pages appear nearly ok in Firefox, but not in IE.

  • #7 / Sep 04, 2007 5:54pm

    vest

    16 posts

    Did you move the database at all?

    No

    Also, is this all on the same server or have you moved it?

    This is all on the same server. Just trying to move from the temp area to the correct location on the server.

    charaset for both the database and the charset for the server

    The database charset is utf-8 and the server is likely to be utf-8, at least everything looked ok in the temp area and in the control panel.

  • #8 / Sep 04, 2007 6:08pm

    Lisa Wess

    20502 posts

    So, just to back-track a little, what exact changes did you make?  If you just moved a few files around that shouldn’t have effected anything (which you probably are aware of). 

    As a note, they are not ok in Safari either.

    Do you have the conversion to high ascii preference chosen? In Admin -> Weblog Administration -> Global Weblog Preferences, and are you using any language packs or extensions?

  • #9 / Sep 04, 2007 6:22pm

    vest

    16 posts

    So, just to back-track a little, what exact changes did you make?  If you just moved a few files around that shouldn’t have effected anything (which you probably are aware of).

    This comes as a shock (or let’s say surprise). We have one other client with the same configuartion on the same host in the same village and that site is working perfectly in two languages. It is http://www.westfjords.is/index.php/is/ (also utf-8 charset for icelandic)

    Do you have the conversion to high ascii preference chosen?

    No.

    are you using any language packs or extensions?

    No. But I tried few days ago to change the setting for names of months and weekdays, but I recall the same problem came with one template set and I got it fixed by installing the language folder again and removed the translation. Maybe this could help.

    I also just tried to change the charset in Global Weblog Preferences to iso-8859-1 but that did not do it.

  • #10 / Sep 04, 2007 7:19pm

    vest

    16 posts

    Hi

    It looks like this is a server problem after all. Test files show the main directory is not configured correctly. We will contact the host and have it fixed. Looks like old configuration. The problem with Icelandic letters is an Icelandic problem after all:)

    I am sorry for spending your valuable time on this subject, but it is a good experience.

    I also want to say that with every challenge Expression Engine has contained a perfect solution as a publishing software. A pleasure to work with, a delight to maintain and flexible enough for almost every task.

    Thanks

    Siggi

  • #11 / Sep 04, 2007 7:31pm

    Lisa Wess

    20502 posts

    Not a worry, Siggi!  It really didn’t make sense that a minor file change would change your characters; thank you for posting that you had found the problem.  If you do still need help, post back here so we have a history going.

    And thank you for the kind words, glad you’re enjoying EE!

  • #12 / Sep 04, 2007 7:51pm

    vest

    16 posts

    One technical question.

    When a language file is edited as in the Translation Utility, is that information stored in the database or entirely in the associated and generated php files?

    Just to make sure the error I got few days back has not migrated in some way into the database. If such information is stored partly in the database then is it possible to fix it there?

    Siggi

  • #13 / Sep 04, 2007 7:56pm

    Lisa Wess

    20502 posts

    That information is saved as a file and is not used until you actually choose to use it as a language in the control panel and for your account.  The docs on that are here for anyone happening across this.

  • #14 / Sep 05, 2007 9:39am

    vest

    16 posts

    Hi

    This continues to be a problem. The hosting company has been trying to tweak some language settings but nothing has changed.

    One strange thing that might be of use. If a page is called with a non-existing index then the language appears correctly (but the page is incorrect).

    Is Expression Engine true UTF-8 or parses it information from the database using other charsets?

    I am sure you often deal with different languages.

    I also found this article with information on EE and UTF-8: http://www.abcseo.com/papers/utf8-expression-engine.htm

  • #15 / Sep 05, 2007 11:10am

    vest

    16 posts

    Hi

    There is something wrong and we need to find a solution. I got a brand new area on the server that was correctly configured. I test the utf-8 before moving EE. After moving EE continues to display incorrect language characters.

    You have to help me in some way.

    Siggi

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases