coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: FinnK on December 19, 2003, 10:46:51 PM

Title: Is it possible to choose language in the URL?
Post by: FinnK on December 19, 2003, 10:46:51 PM
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?
Title: Is it possible to choose language in the URL?
Post by: Joachim Müller on December 20, 2003, 08:04:19 AM
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
Title: Is it possible to choose language in the URL?
Post by: FinnK on December 20, 2003, 11:00:28 AM
Great!

Thanks

I am very happy with Coppermine!