View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007510 | mantisbt | customization | public | 2006-10-10 12:41 | 2019-04-13 17:59 |
Reporter | renfrowl | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | no change required | ||
Product Version | 1.1.0a1 | ||||
Summary | 0007510: Database configuration enhancement | ||||
Description | I've been playing with the alpha build of mantis you have and love it.. However I have 1 suggestion i would absolutely love. Where I work, I support a lot of projects and we have started setting up mantis instances for them. However like human nature people want to make it as much of a pain to setup for them as it can be. The basic gripe I get is they want the text customized.. which is no problem i have just been editing the strings_english files. However I’m starting to get to a point of hosting multiple projects on the same instance and that doesn’t necessarily work for me too much anymore. So you have this new nifty database configuration where i noticed you can set options per project. would it be possible to add in language overrides into that? So i could do something like s_steps_to_reproduce_updated = foo for project 1 where project 2 could say bar? | ||||
Tags | No tags attached. | ||||
You might do better to edit custom_strings_inc.php instead of strings_english.txt. Since that's a PHP file, you might even already be able to write a switch statement to provide different translations depending on the active project. |
|
Yes i've been reading over vboctors blog at http://www.futureware.biz/blog/index.php?title=customising_localised_strings_in_mantis&more=1&c=1&tb=1&pb=1 And i have finally managed to setup some custom strings for each project (YAA!) But adding it into the database would still be nice.. it's a excelent new feature you guys got, and would be nice to see it expanded past just basic configurations. |
|
Now i'm in no way a php guru.. but at first i thought i had it until i went to the login screen and it was blank.. so does anybody see any issues doing this in the custom_strings file? <pre>
} |
|
If a page is blank, it often means that a PHP error has occurred but you have disabled the onscreen display of PHP errors, in which case hopefully you are logging the error. Does it say anything useful in your Apache or PHP error log? |
|
At first the page was blank, and php logging was enabled, however nothing came up inside the logs. but adding in the statement if ( auth_is_user_authenticated() ) { cured the blank page issues.. i'm guessing mantis could not find the current project ID since the user was not authenticated. |
|
If this issue is about the famous "Database Configuration" or aka "generic configuration", I'd like the edit option also mentioned in 0007586. |
|
Customizing language strings is achieved via custom_strings_inc.php, including for multiple languages, as documented in the Admin guide |
|