Language dropdown trimming? Language dropdown trimming?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Language dropdown trimming?

Started by the_real_tisse, October 24, 2006, 11:54:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

the_real_tisse

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

Gizmo

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.
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

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

Gizmo

It will be removed from the drop down list (after you reload the page).
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

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