Charset Danish lang. Charset Danish lang.
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Charset Danish lang.

Started by younk, February 15, 2006, 09:26:04 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

younk

Hi, i have translated the english lang fil from 1.4 to danish. (i havent translated the admin part, but the rest).

I have a bit problem with the charset.

If i use $lang_charset = 'utf-8'; then my menu look like crap. opsÆtning becomes  Ops洮ing. But the album description is fine. rØdtoppe is still rØdtoppe.

If i use $lang_charset = 'iso-8859-1'; then my men look fine, opsÆtning is sill opsÆtning, but then the album description becomes crap. Rødtoppe becomes rødtoppe.

What do i do now? do i have to chance somthing in the database? Should i use Utf-8 og iso-8859-1?

Thanks in advance!

Nibbler

Use utf8. What menu are you talking about ?

younk

The menu with search, top rated, albums ect.
also the faq.php look like crap.

Nibbler

Make sure you are actually saving the lang file in utf format.

younk

If i made it $lang_charset = 'utf-8';

it stille make the same crapy letter.

Have i forgotten to chance something in the lang file?

Joachim Müller

just changing the content of the variable doesn't actually convert the file from iso8859-1 to utf-8  ;)
There currently is no danish translation available yet afaik, refer to the language thread "[Help wanted]: Translations for CPG1.4.x" in the announcements board for details. Just submit your file there, I will convert it for you if you don't know how to accomplish this (as suggested in the translator's guide).

Locking this thread now.