How to change button text and title?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
0915reg
Posts: 15
Joined: 29 Jan 2010, 10:20

How to change button text and title?

Post by 0915reg »

I want to customize my Mantis system, such as button text and page label.
For example, in Login Page change the "Username" to "ID #:", "Login" to "Welcome".

Which file(s) should I edit? [Mantis 1.1.8]
THANKS!
Last edited by 0915reg on 26 Feb 2010, 04:02, edited 1 time in total.
atrol
Site Admin
Posts: 8581
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to change button text and title?

Post by atrol »

There is more than one way to get this:

1. quick and dirty
have a look at the files in subdirectory lang and you will understand what you have to do
but you will have to do the work again when updating to a newer version of MantisBT

2. clean
create a file custom_strings_inc.php in the main MantisBT directory
http://manual.mantisbt.org/manual.custo ... values.php
Please use Search before posting and read the Manual
0915reg
Posts: 15
Joined: 29 Jan 2010, 10:20

Re: How to change button text and title?

Post by 0915reg »

Thank you! I'll try the solution #2 today.
atrol
Site Admin
Posts: 8581
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to change button text and title?

Post by atrol »

Futher information, I just remembered this
http://git.mantisforge.org/w/Terminology.git
I didn't have a closer look, but after you upgrade to 1.2.x maybe interesting
Please use Search before posting and read the Manual
Post Reply