View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010284 | mantisbt | localization | public | 2009-04-02 21:07 | 2009-06-26 12:02 |
| Reporter | cincinatofurtado | Assigned To | giallu | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Platform | Linux | OS | GNU/LINUX DEBIAN ETCH | OS Version | 2.6.18-6-686 |
| Product Version | 1.2.0a3 | ||||
| Summary | 0010284: Language auto-detection error | ||||
| Description | When setting the variable $g_default_language to 'auto' in config_inc.php file, I got a error message when trying to access Mantis: SYSTEM WARNING: require_once(/var/www/mantis/lang/strings_portugese_brazil.txt) [function.require-once]: failed to open stream: No such file or directory Fatal error: require_once() [function.require]: Failed opening required '/var/www/mantis/lang/strings_portugese_brazil.txt' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/mantis/core/lang_api.php on line 55 The problem was because Mantis auto detects the language in my browser's language (I tried Chrome, Firefox 3.0 and IE6) and try to open the strings_portugese_brazil.txt file, which doesn't exists (look the difference between portugese and portugUese!). So, I solved just by copying strings_portuguese_brazil.txt to strings_portugese_brazil.txt and I got it working well. Regards! | ||||
| Steps To Reproduce | Install Mantis insert the line above in mantis/config_inc.php : | ||||
| Tags | No tags attached. | ||||