(sorry for my poor english...)
I use mantis 0.19.0
I added a custom menu option but can't success to translate the caption.
I tried to edit a "custom_strings_inc.php" file in the main directory but without success?
Is it the right way to do that?
in the config_inc.php file:
Code: Select all
$g_main_menu_custom_options = array( array( "My Link", MANAGER, 'my_link.php' ) ,
array( "My Link2", ADMINISTRATOR, 'my_link2.php' ));
in the custom_strings_inc.php file:
Code: Select all
<?php
if ( lang_get_current() == 'french' ) {
$s_my_link = 'Start Date XX'; // German translation of Start Date
} else {
# Default (use your preferred language as the default)
$s_my_link = 'Start Date';
}
?>
thanks a lot for any reply.[/code]