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
-
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
-
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 flags
and 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
-
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
-
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