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: Language dropdown trimming?  (Read 6487 times)

0 Members and 1 Guest are viewing this topic.

the_real_tisse

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Language dropdown trimming?
« on: October 24, 2006, 11:54:10 am »

Hi all

First of all, have only started using coppermine last week, and the forum here is excellent!

Now, what I would like to know, is it possible to delete some of the language choices in the dropdown?

I have found the language array in the functions.inc.php, but can I simply delete a line there to have that option dropped in the language drop down or should I do something more than that?

I thought I'd ask first before messing with it.

Thx!

P
« Last Edit: October 24, 2006, 02:42:27 pm by Nibbler »
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Language dropdown trimming?
« Reply #1 on: October 24, 2006, 12:04:25 pm »

You can delete them from the language (lang) directory. If you think you may want to add them back in the future, back them up first if you've made changes or you can grab them from the install zip file.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

the_real_tisse

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Language dropdown trimming?
« Reply #2 on: October 24, 2006, 12:06:26 pm »

Yes, but if I delete them from the lang dir, will that remove that particular language in the drop down, or should I delete that particular line in the function.inc.php too?

Thx for your time :)

P
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Language dropdown trimming?
« Reply #3 on: October 24, 2006, 12:20:07 pm »

It will be removed from the drop down list (after you reload the page).
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

the_real_tisse

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Language dropdown trimming?
« Reply #4 on: October 24, 2006, 12:50:31 pm »

Thank you, indeed it does.

As said before, I'm trying to play safe and ask details first, hope that isn't too much of a bother from my side.

Thx for the answers :)

P
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.