View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004283 | mantisbt | localization | public | 2004-08-06 09:11 | 2008-10-18 18:34 |
Reporter | jlatour | Assigned To | siebrand | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | won't fix | ||
Summary | 0004283: [all lang] Use gettext for localisation files | ||||
Description | Convert the current strings_[language].txt files to use a gettext format. Apart from making it easier to maintain (extra tools available, it doesn't go unnoticed if the meaning of the string changes, you don't easily miss strings) this also adds extra flexibility to the system (you can use parameters and handle plural forms). | ||||
Tags | No tags attached. | ||||
child of | 0004181 | closed | Features in Mantis 1.1 release |
This is certainly not for 0.19.0. |
|
This should use something like http://pear.php.net/package/File_Gettext as a fallback for when gettext is not available (as it is often not the case, and I don't think all our users can install it or have it installed). |
|
Anyway, the problem with using "real" gettext is that the .mo files get loaded into Apache's memory, and the only way to clear it out and get it to recognize updated .mo files is to restart Apache, which many of our users will be even less likely to be able to do. I have written an almost total replacement of gettext that we use in our PHP projects. Has a much better replacement mechanism than sprintf as suggested by "real" gettext, we "compile" .po files not into .mo files but into special .php files, etc. The latter would make something like File_Gettext unnecessary. There is still much to discuss before implementation in Mantis can begin. For example:
|
|
TO: achumakov RE: the UTF-8 implementation But when I started using SQL Query Analyzer to peek and poke directly into the I found this:http://support.microsoft.com/kb/232580 An excerpt:
:-\ gnarly issue |
|
Closed as WONTFIX. Out current i18n implementation could be a lot better, but using gettext is not a requirement. Mantis was recently added to the products supported by http://translatewiki.net. That platform also supports a gettext export, which makes it possible to work on Mantis using gettext tools. |
|
MantisBT: master 8e6efc67 2011-03-05 22:25 Details Diff |
Improve JavaScript "check all" functionality on forms The "check all" aka "select all" checkboxes should reflect the current state of the checkboxes they're linked to. If a user clicks on "Select All" on view_all_bug_page and then proceeds to uncheck some of the issues one by one, the "Select All" checkbox should no longer be checked. It should be noted that jQuery doesn't correctly handle addition/modification/removal of attributes for documents served as Content-Type: application/xhtml+xml. jQuery bug 0004283 provides further information at http://bugs.jquery.com/ticket/4283. |
Affected Issues 0004283 |
|
mod - javascript/common.js | Diff File |