Hi,
I am installing the "Emeralda" template on my site, but I am having trouble with the norwegian characters. It is my first time installing a new template, so I have been doing this by trial and error. So far I have duplicated the "english" files and named the folders "norwegian". I have also translated the /includes/languages/emeralda/norwegian.php file and replaced this:
-----------------------
@setlocale(LC_TIME, 'en_US.ISO_8859-1');
define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
-----------------------
With this:
-----------------------
@setlocale(LC_TIME, 'no_NO.ISO8859-1', 'nb_NO.ISO-8859-1', 'no', 'nb', 'no-NO', 'nb-NO', 'no_NO', 'nb_NO', 'nor', 'norwegian', 'bokmal');
define('DATE_FORMAT_SHORT', '%d.%m.%Y'); // this is used for strftime()
define('DATE_FORMAT_LONG', '%A %d. %B %Y'); // this is used for strftime()
define('DATE_FORMAT', 'd/m/Y'); // this is used for date()
define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
define('LANGUAGE_CURRENCY', 'NOK');
// Global entries for the <html> tag
define('HTML_PARAMS','dir="ltr" lang="no"');
// charset for web pages and emails
define('CHARSET', 'iso-8859-1');
-----------------------
The norwegian letters I am missing are Å, Ø and Æ.
Anyone who can give me any tips how to get norwegian letters to funktion?
Bookmarks