1 (edited by alsoeren 2009-02-16 19:27)

Topic: [solved] Problems with translations in search.php

Since there wasn't any Norwegian translations for 1.3 available yet I've been doing the work my self. Everything work fine, except for search.php:

In Norwegian I need to use special characters such as Æ, Ø, Å. This works fine with the other translation files, but in search.php the main part of search.php went blank (except from header and footer) when using such characters. I then tried to change the translation of that file into html-entities which actually worked apart from the title of the search results page.

On that particular page the main content goes blank when using special characters in the 'Search results' field, also if I use html-entities these are displayed just as I wrote them: instead of 'Søkeresultat' it says 'Søkeresultat' in the page title and the breadcrumbs.

Any ideas how to fix this?

2

Re: [solved] Problems with translations in search.php

Check if search.php is in utf-8 encoding.

Re: [solved] Problems with translations in search.php

Ah. I was so very certain that I had encoded all the files as UTF-8, but somehow search.php was saved as ISO-8859-1. A simple iconv took care of that problem. Thank you! smile