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: Change CATEGORy to Folio and ALBUM to Folio Rounds  (Read 2860 times)

0 Members and 1 Guest are viewing this topic.

aps

  • Coppermine novice
  • *
  • Country: au
  • Offline Offline
  • Gender: Female
  • Posts: 24
Change CATEGORy to Folio and ALBUM to Folio Rounds
« on: May 29, 2006, 06:28:40 am »

Hi Guys!

I would like to change the word "Category" that appears throughout to users uploading their images, to the word Folio, and the same for the word "Albums" to Folio Rounds.

I have a sneaky feeling that I need to do this in the english language file, am I right? And if so, how? :)

Thanks for your help. Coppermine's fantastic!
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Change CATEGORy to Folio and ALBUM to Folio Rounds
« Reply #1 on: May 29, 2006, 06:43:37 am »

Search for the words you want to replace in lang/english.php.  I'm pretty sure what you want is in the $lang_cat_list array.  Make sure you replace only the words, and leave the quotes and other characters around the words as is.

You should avoid modifying the actual english.php.  Make a copy, call it something like "english-mod.php" and modify that file.  Then set your language to this new "language".  When making the modifications, add comments around your modifications with your initials or something unique so you can search your mods in the future.  That way, when you upgrade to newer versions of Coppermine, you can safely upgrade without overwriting your modified file, then apply the modifications easily to the new file.

This is assuming you don't let your users change the language.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Change CATEGORy to Folio and ALBUM to Folio Rounds
« Reply #2 on: May 29, 2006, 07:04:57 am »

An alternative is to use a diff app like Winmerge to compare the different versions and retain the modded lines. :)
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.