Udate Language Name Udate Language Name
 

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]

Main Menu

Udate Language Name

Started by xnelsonx, December 21, 2004, 12:42:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xnelsonx

Hi, i will like to update some words thats appears. Including the list of language, can anyone tell me if is possible to do it?

Nelson MB

Joachim Müller

to change phrases in the translation, edit lang/yourlanguage.php (e.g. lang/english.php). To change the language names from the language selector dropdown, edit include/functions.inc.php, find// get an array of english and native language names and flagsand change the entries in the array below it, e.g. if you want to change the word for "Danish" to "Dänisch" (this would be the German name for the language), you'd replace$lang_language_data['danish'] = array('Danish','Dansk','dk');with$lang_language_data['danish'] = array('Dänisch','Dansk','dk');. Note that you mustn't change the index within the square brackets, as those name refer to the language file names.

Joachim

xnelsonx

perfect it works!!!! ;)

thanks a lot. :)

Another thing, if i woul like to include one logo ou link in the main page (home) of the gallery where is the correct page to do it?

Nelson MB

Joachim Müller

we have a "one question per thread" policy on this forum (for very good reasons); you agreed to respect this policy when you signed up for your account. I'm flagging this thread as solved (as your initial question was solved), you will want to edit themes/yourtheme/template.html to add a logo to your coppermine gallery. If you need further info on this question, read the documentation (yes, it's covered there), search the board (yes, this has been asked very often already, surprisingly ::)) and if you still can't get enough information, start a new thread (or reply to an existing one that deals with this subject).

Joachim