Problem with the danish.php file Problem with the danish.php file
 

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

Main Menu

Problem with the danish.php file

Started by pointman, December 10, 2006, 07:50:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pointman

Hi...

Below is a little part of the danish.php file... Where there should have been special letters like ÆØÅ, there is instead: &oslash or &aelig...  These texts are also shown like in the file, så they are not convertet to something else...

Do I have to run CPM with something else than UTF8... ??  or do I have to rewrite the complete danish.php file?

Hope someone can help here with an answer....

Sincerely

Erling
_________________


access_denied' => 'Du har ikke tilladelse til at se denne side.',
  'perm_denied' => 'Du har ikke tilladelse til at udføre denne handling.',
  'param_missing' => 'Script blev kaldt uden de nødvendige parametre(r).',
  'non_exist_ap' => 'Det valgte album/den valgte fil eksister ikke!',
  'quota_exceeded' => 'Disk m&aelig;ngden overskredet<br /><br />Du har plads til [quota]K, Dine filer bruger [space]K, tilf&oslash;jelse af denne fil medf&oslash;rer en overskridelse af din tilladte m&aelig;ngde.',
  'gd_file_type_err' => 'N&aring;r der anvendes GD billedeteknik, er tilladte typer kun JPEG og PNG.',
  'invalid_image' => 'Billedet som du har uploadet er defekt eller kan ikke bruges med GD billedeteknik',
  'resize_failed' => 'Ikke muligt at oprette minibillede eller mellem stort billede.',
  'no_img_to_display' => 'Intet billede at vise',
  'non_exist_cat' => 'Den valgte kategori findes ikke',
  'orphan_cat' => 'En kategori har ikke et tilh&oslash;rsforhold, k&oslash;r kategori manager for at rette problemet!',
  'directory_ro' => 'Mappen \'%s\' er skrivebeskyttet, filer kan ikke slettes.',
  'non_exist_comment' => 'Den valgte kommentar findes ikke.',
  'pic_in_invalid_album' => 'Filen er i et ikke eksisterende album (%s)!?',
  'banned' => 'Din adgang til denne side er sp&aelig;rret.',
  'not_with_udb' => 'Denne funktion er deaktiveret i Coppermine da den er integreret med forum software. Enten er det du &oslash;nsker at g&oslash;re ikke underst&oslash;ttet i denne ops&aelig;tning eller ogs&aring; skal det g&oslash;res vha. forum software.',
  'offline_title' => 'Offline',
  'offline_text' => 'Galleriet er offline lige nu - pr&oslash;v igen senere',
  'ecards_empty' => 'Der findes ingen e-postkort lige nu. Kontroller at du har aktiveret e-postkort logning i ops&aelig;tningen!',
  'action_failed' => 'Handling fejlede.  Coppermine kan ikke udf&oslash;re den &oslash;nskede handling.',
  'no_zip' => 'Underst&oslash;ttelse af ZIP filer er ikke tilg&aelig;ngelig. Kontakt venligst administratoren af galleriet.',
  'zip_type' => 'Du har ikke tilladelse til at uploade zip filer.',
  'database_query' => 'Det opstod en fejl under s&oslash;gning i databasen', //cpg1.4
  'non_exist_comment' => 'Den valgte kommentaren findes ikke', //cpg1.4

Joachim Müller

Confirming - this is a bug in the danish language file. Most recent contributor appears to have made a mistake there. Moving to bugs board.

Joachim Müller

Changed the HTML entities back to actual characters and committed to stable branch of the svn. Please try the attached language file (download it, rename it back to danish.php and then upload it into the lang folder of your coppermine install).

pointman

I still got a problem with files uploaded to the server...

When I make an upload through the Upload Page, everything is fine, and pictures are preview also fine... As soon I get back the gallery I get a link and red X where the picture should have been...

On the server ind the folder albums\userpics\10001\  i find the pucturefiles named like this:  thumb_MCG_Fællestur_-_Helnæs_003.jpg

This looks like a Latin-1 error...

What module are writing the files upload.php?

Sincerely

Erling

PS: the other thread was created, this error had nothing to do with the errors in the danish.php.

Joachim Müller

For you upload issue, start a new thread on the uploads support board, doing exactly as suggested in the upload troubleshooting section of the docs.