Advanced search  

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

Pages: [1]   Go Down

Author Topic: can't make one language became default  (Read 1894 times)

0 Members and 1 Guest are viewing this topic.

holmes

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
can't make one language became default
« on: July 14, 2006, 06:47:32 am »

I have read some topic about this broblem, it said because cookie, but I browse my gallery with other computer it still doesn't show my language that I choose. (vietnamese)
I have uncheck the box "return English if..."

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can't make one language became default
« Reply #1 on: July 14, 2006, 07:40:00 am »

There's no vietnamese language file for cpg1.4.x available anyway.
Here's how coppermine determines the language of a user: when accessed, coppermine checks if a user explicitely has set a language preference (which is stored in a cookie on the client). If one is set, coppermine is being displayed in that particular language.
If no individual language preference has been set, coppermine detects the language preference of a user set up in his browser. If the browser language is (for example) english, then coppermine will display in english.
If the browser language is set to hindi (as an example), while there is no coppermine language file available for that particular language, then coppermine will fall back to the default language you have set up in coppermine's config.
As you can see, the determination of the actual language setting is a three step process:
1) user preference (cookie)
2) browser setting
3) coppermine config setting

To fix this issue, you should post
1) a link to your page
2) what browser language you use
3) what language files you have (inside your "lang" folder)

As suggested above: there's no vietnamese language file for cpg1.4.x, so it's mandatory to use the fallback option in coppermine's config if you want to use the outdated vietnamese cpg1.3.x language file. Keep in mind that this will only work for your site's visitors, but not for you as gallery admin (the gallery can't be administered using an outdated language file).
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.