Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Charset Danish lang.  (Read 3089 times)

0 Members and 1 Guest are viewing this topic.

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Charset Danish lang.
« on: February 15, 2006, 09:26:04 pm »

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!
Logged

Nibbler

  • Guest
Re: Charset Danish lang.
« Reply #1 on: February 15, 2006, 09:27:44 pm »

Use utf8. What menu are you talking about ?
Logged

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: Charset Danish lang.
« Reply #2 on: February 15, 2006, 09:34:20 pm »

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

Nibbler

  • Guest
Re: Charset Danish lang.
« Reply #3 on: February 15, 2006, 09:41:25 pm »

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

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: Charset Danish lang.
« Reply #4 on: February 15, 2006, 10:01:02 pm »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Charset Danish lang.
« Reply #5 on: February 16, 2006, 09:56:42 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.