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: Modifying Language Files  (Read 5402 times)

0 Members and 1 Guest are viewing this topic.

joeboxer

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • RealAdventures
Modifying Language Files
« on: November 04, 2006, 06:53:19 pm »

I would like to change some wording in the english.php file (i.e.: File => Photo, etc).

But I'm concerned that if I change this file directly then in the next update my changes would be overwritten.
On the other hand, if I create a 'new' language then that file would not include prompts referenced in the next version.

I tried adding adding a test entry to the MYTHEME/theme.php file, but that was ignored

(i.e.: $lang_yes = 'Yes'; => $lang_yes = 'Yessssss')

What is the best way to handle this issue? I searched around the forum but was not able to find any reference to it.

Thanks, Joe

Nibbler

  • Guest
Re: Modifying Language Files
« Reply #1 on: November 04, 2006, 08:16:46 pm »

You can't do it via the theme because the language is loaded after the theme. You can do it via a plugin however (action: page_start).
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 15 queries.