Menu

#10 More language testing

open
nobody
None
5
2007-07-24
2007-07-24
No

Attached diagnostic.php includes tests for multiple language localization. It requires that Warehouse.php wrap its language code in a test for a variable, so Warehouse will not set language translation before diagnostics can be performed. Having the wrong Warehouse.php is nonfatal, it merely causes incorrect results in the testing (such as whether the function _() is defined).

A test for 'Students' is done in the es_ES translation file, so an actual messages.mo file should exist.

Discussion

  • Scot Wilcoxon

    Scot Wilcoxon - 2007-07-24

    testing for language localization

     
  • Scot Wilcoxon

    Scot Wilcoxon - 2007-07-24

    add language omission test for diagnostic.php

     
  • Scot Wilcoxon

    Scot Wilcoxon - 2007-07-24

    Logged In: YES
    user_id=743553
    Originator: YES

    Warehouse.php from v2.2 with language test for diagnostic.php attached.
    File Added: Warehouse.php

     
  • Scot Wilcoxon

    Scot Wilcoxon - 2007-07-24

    Logged In: YES
    user_id=743553
    Originator: YES

    Spanish language translation messages.mo file with a very few translations, for diagnostic.php test. Should go in locale/es_ES/LC_MESSAGES/messages.mo
    File Added: messages.mo

     
  • Scot Wilcoxon

    Scot Wilcoxon - 2007-07-24

    stub messages.mo for es_ES

     
  • Scot Wilcoxon

    Scot Wilcoxon - 2007-07-24

    Logged In: YES
    user_id=743553
    Originator: YES

    translation messages.po file for diagnostic.php with few messages, belongs in locale/es_ES/LC_MESSAGES/messages.po
    File Added: messages.po

     
  • Scot Wilcoxon

    Scot Wilcoxon - 2007-07-24

    messages.po stub for diagnostic.php

     

Log in to post a comment.

MongoDB Logo MongoDB