Own language file problem? Own language file problem?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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