Hi there,
I installed Coppermine 1.3 and MiniCMS and created some new pages in the MiniCMS. I already found out how to add a new navigation item to the navigation.
My question: I would like these new items to be translated and directed to the page in that particular language.
Just like the standard navigation items do.
For example:
The navigation item "test_dutch" which points to the "test_dutch" page has to change to "test_english" which points to the "test_english" page
Is this possible?
TIA
Nanda
You'll have to edit your language files (take a look at the files in the lang folder) to provide translations and you'll have to use the same scheme that is used in "regular" coppermine pages - take a look at themes/yourtheme/theme.php.
If you want to add a link to a contact page for example, and you're using the classic theme, edit themes/classic/theme.php and find<a href="{SEARCH_TGT}">{SEARCH_LNK}</a>
Add after it<a href="{CONTACT_TGT}">{CONTACT_LNK}</a>
. Next, find '{SEARCH_TGT}' => "search.php",
'{SEARCH_LNK}' => $lang_main_menu['search_lnk'],
and add after it '{CONTACT_TGT}' => "contact.php",
'{CONTACT_LNK}' => $lang_main_menu['contact_lnk'],
. Then edit /lang/english.php and find'search_lnk' => 'Search',
Add after it'contact_lnk' => 'Contact me',
. Do the similar thing for all other language files.
GauGau