forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: xnelsonx on December 21, 2004, 12:42:18 pm

Title: Udate Language Name
Post by: xnelsonx on December 21, 2004, 12:42:18 pm
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
Title: Re: Udate Language Name
Post by: Joachim Müller on December 22, 2004, 05:11:34 pm
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
Code: [Select]
// 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
Code: [Select]
$lang_language_data['danish'] = array('Danish','Dansk','dk');with
Code: [Select]
$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
Title: Re: Udate Language Name
Post by: xnelsonx on January 05, 2005, 12:41:40 pm
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
Title: Re: Udate Language Name
Post by: Joachim Müller on January 05, 2005, 04:17:48 pm
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