Own language file problem? Own language file problem?
 

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

Own language file problem?

Started by astraali, April 05, 2006, 12:35:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

astraali

I have read most topics considering language files, but I didn't find answer for this. Maybe I'm just stupid.

I started to translate Coppermine to finnish. Can I test it somehow? Can't choose finnish language from the dropdown menu in config file. I also tried to name my finnish.php to swedish.php, but it seems to not work like that. :D

Tranz

In the following files:
include/functions.inc.php
include/select_lang.inc.php

search for swedish and copy the lines to make finnish versions of them.

Joachim Müller

force the use of a certain language by adding lang=yourlanguage to the url in the address bar, i.e. http://yoursite.tld/your_coppermine_folder/index.php?lang=finnish
Make sure that your language file name actually corresponds to this - for above example, your language file needs to be named "finnish.php" and reside inside the lang folder.
Please review the http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#translating section and the subsequent page http://coppermine-gallery.net/demo/cpg14x/docs/translation.htm