View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004528 | mantisbt | localization | public | 2004-09-13 04:40 | 2004-11-06 06:52 |
| Reporter | ryandesign | Assigned To | thraxisp | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.19.0 | ||||
| Fixed in Version | 0.19.1 | ||||
| Summary | 0004528: Error on logout page with language=auto | ||||
| Description | When I log out, a PHP error occurs, in that it can't find the file "strings_auto.txt". | ||||
| Additional Information | Warning: lang_load(/Library/WebServer/mantis/mantis-0.19.0/lang/strings_auto.txt) [function.lang-load.html]: failed to open stream: No such file or directory in mantis/mantis-0.19.0/core/lang_api.php on line 37 | ||||
| Tags | No tags attached. | ||||
|
Same thing happens to me while trying to log in with language=auto |
|
|
The other workaround for now would be to copy your default language file to "strings_auto.txt", or if you're handy with the shell, to make that a symlink to your default language file. cd /path/to/mantis/lang |
|
|
Same thing also applies if you try to request a lost password. |
|
|
$g_default_language can be set to 'auto', but $g_fallback_language cannot be (in case the browser language can't be figured out). The checks for language not set, and 'auto' need to be reversed. |
|
|
fixed in CVS, order of auto, null language checks reversed to allow $g_default_language to be 'auto'. |
|