Is it possible to choose language in the URL? Is it possible to choose language in the URL?
 

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 choose language in the URL?

Started by FinnK, December 19, 2003, 10:46:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FinnK

Somewhere it is stated that by calling coppermine like this http://....../coppermine/index.php?lang=xxx the automatic language detection is triggered. (If the -utf8 language feature is used when installing coppermine. - I didn't  :cry: )

Is it possible to force the language by doing something similar like calling coppermine like this http://....../coppermine/index.php?lang='language_code' ???

The idea is to present a flag on a top page and when the visitor clicks a flag coppermine starts in the corresponding language.

Is this possible?

Joachim Müller

yes, http://yourdomain.com/coppermine/?lang=greek will display your gallery in greek. If you didn't install greek (or made a spelling error in the url) your default language will be displayed. Actually this has already been done in the past, see

FinnK

Great!

Thanks

I am very happy with Coppermine!