Hi,
I am new to Mantis and I am currently using 1.2.0
Is it possible to change the existing field name?
eg. I want to change "Summary" to "Title"
If yes, how to change?
Any help will be appreciated. Thank you!
Change field name
Moderators: Developer, Contributor
Re: Change field name
Use custom_strings_inc.php
if ( $g_active_language === 'english' ) {
$s_summary = 'Title';
}
Look in lang/strings_english.txt for all text with summary, and place them ( translate ) in custom_strings_inc.php.
You can also translate other languages
if ( $g_active_language === 'english' ) {
$s_summary = 'Samenvatting';
}
if ( $g_active_language === 'english' ) {
$s_summary = 'Title';
}
Look in lang/strings_english.txt for all text with summary, and place them ( translate ) in custom_strings_inc.php.
You can also translate other languages
if ( $g_active_language === 'english' ) {
$s_summary = 'Samenvatting';
}
Tom
------------------------------------
------------------------------------
-
BugCatcher
- Posts: 6
- Joined: 17 Mar 2010, 22:25
Re: Change field name
Thank you. It worked after I added custom_string_inc.php with $s_summary = 'Title'.
And I did not have to do the second part.
That is to look at lang/strings_english.txt for all text with summary, and place them ( translate ) in custom_strings_inc.php.
I don't understand this part. Do I really have to do it? I don't understand since I don't see any problem right now and the issue form already changed to what I want.
And I did not have to do the second part.
That is to look at lang/strings_english.txt for all text with summary, and place them ( translate ) in custom_strings_inc.php.
I don't understand this part. Do I really have to do it? I don't understand since I don't see any problem right now and the issue form already changed to what I want.
Re: Change field name
Glad it worked out for you.
I meant that if you want to translate another string, tou have to find out which variable it is. You only see the text on your webpage ( Summary ), and you want to translate that into 'Title'. Then you have to know that you have to use $s_summary.
If your installation is multi language you should translate al the appropriated languages.
I meant that if you want to translate another string, tou have to find out which variable it is. You only see the text on your webpage ( Summary ), and you want to translate that into 'Title'. Then you have to know that you have to use $s_summary.
If your installation is multi language you should translate al the appropriated languages.
Tom
------------------------------------
------------------------------------
-
BugCatcher
- Posts: 6
- Joined: 17 Mar 2010, 22:25
Re: Change field name
It is crystal clear now. Thank you so much for your help.