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

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

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!