Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Limiting what languages are available  (Read 4564 times)

0 Members and 1 Guest are viewing this topic.

drkestrel

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Limiting what languages are available
« on: October 18, 2006, 01:40:39 pm »

Is it possible to limit what languages are available (to only English, Traditional and simplified Chinese) (without hacking around the codes too muh)?

If so, how?

I am using latest version 1.4.9 of coppermine.
Logged

Nibbler

  • Guest
Re: Limiting what languages are available
« Reply #1 on: October 18, 2006, 01:45:02 pm »

Delete the language files you don't want from the lang directory.
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: Limiting what languages are available
« Reply #2 on: October 18, 2006, 02:24:55 pm »

Morning drkestrel,

Or if you want easely go back, simply move your unwanted languages in a new directory. In expl : your-cpg/lang-out/ !

PYAP
Logged

crakup

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Limiting what languages are available
« Reply #3 on: November 05, 2006, 09:14:42 pm »

I deleted all language files except the spanish, but when the SERPs crawl my site they find an empty page beacuse there is not english file. How can i make my page visible only in spanish but for all the browsers, not only for those in spanish?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Limiting what languages are available
« Reply #4 on: November 06, 2006, 06:42:37 am »

When deleting all language files but Spanish, search engine spiders should still crawl your site. What blank page do you refer to?
Logged

crakup

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Limiting what languages are available
« Reply #5 on: November 07, 2006, 02:23:07 am »

Mmm...I'm using Google Sitemaps, and when i deleted the english language file, Google doesn't read the sitemap i submitted and the code they gave me to validate my page, also the W3C validation service can't access to my page without the english file, because when i ask for the source code they returned me an empty page, of course all of this does't happen when i reupload the english file, my site is at http://crakup.cr.funpic.de ???
Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Limiting what languages are available
« Reply #6 on: November 07, 2006, 07:08:25 am »

Sure, the sitemap has to be re-built. Expected behaviour.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.