Is it possible to have dual language ? Is it possible to have dual language ?
 

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

Is it possible to have dual language ?

Started by cagri, May 27, 2004, 03:55:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cagri

I mean, may I install two copies, in two directories, set different languages for each, and make them use same database "AND" albums folder ? Is there any other instructions that I should follow if this is doable ?

Cagri

hyperion

Yes, this is doable.  You would neee to create an extra config table in the database, and then change the conifg table designation in one of the installs init.inc.php.  You would also only run install for one of the galleries. You would need to create the config.inc.php file for the other by hand. You would need to make the albums folder for one install a symbolic link/shortcut to the actual albums folder.

Alternatively, you can just provide links to the same gallery with the language selector attached (http://www.mygallery.com/CPG/index.php?lang=french).

Another option is to use the anycontent block to provide a language selector dropdown box.  
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)