Textblock 5
-----
4.12.2 Sprachen & Charset Einstellungen
Language
This is the default language for your gallery. All language files are stored in the lang directory on your server.
The language files with an "-utf8" suffix are unicode encoded files. If you select an -utf8 file as the default language and you set "Character encoding" to "Unicode (utf-8)" then the script will auto detect the preferred language of the visitor based on what is configured in his browser. If the corresponding language is available it will be used else the default language file will be used.
When the script auto detect the preferred language, it stores the result in a cookie on the visitor's computer. To reset this cookie (and so force the script to do another auto detection) call it with something like:
http://yoursite.com/coppermine_dir/index.php?lang=xxxOnce you have added some comments or files to your gallery, you should not change the character set of your gallery. If you do so, non-ASCII character may not be shown correctly.
Fallback to English if translated phrase not found?
Enable this option if you're using other languages than english. If a certain phrase doesn't exist within your language file, coppermine will show the english phrase instead.
This feature has been introduced to allow the usage of older language files, as during the development of new coppermine versions only the english language file is being updated. To make up for translations being submitted later, you can use this option. Most translations affect the admin part of coppermine only, so mostly the admin will see some phrases in english instead of his language that don't exist in his language file. Currently this fallback option only works for 95% of all phrases, so there still might be some missing translations.
[cpg1.4.0 or better required]
Character encoding
This should normally be set to "Unicode (utf-8)" (or "Default (language file)"). See the discussion in the "language" section of this page.
Display language list
Enable this option if you want your users to be able to select their own language with a dropdown list (you can specify to display only the list itself or a label saying "Choose your language:" in front of the list). Edit your template file (/themes/yourtheme/template.html) to specify where the language dropdown list should appear on your gallery (look for {LANGUAGE_SELECT_LIST}).
[cpg1.3.0 or better required]
Display language flags
Enable this option if you want your users to be able to select their own language by clicking on a flag representing their language (you can specify to display only the flags themselves or a label saying "Choose your language:" in front of the flags). Edit your template file (/themes/yourtheme/template.html) to specify where the language dropdown list should appear on your gallery (look for {LANGUAGE_SELECT_FLAGS}).
[cpg1.3.0 or better required]
Display "reset" in language selection
This option only applies if you enabled language selection at all - it will show a "default"-icon or list entry to let the users go back to the original language of your gallery.