jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
loom
  • loom
  • LOOM-38

Update I18N Keys

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: future
  • Component/s: Engine, Tools
  • Labels:
    None
  • Number of attachments :
    0

Description

Currently the keys for the I18N strings are of varrying formats and "standards". Most follow the pseudo-standard of <area>.<content>.<level> where <level> is one of "info", "err", "notice", <area> is a short hand for user of message (ie DefaultInfoBuider may use "builder") and <content> is the id of specific message such as "missing-header".

However this is not always followed and can be hard to maintain. It would be better to go to a more formalized/structured key space such as;

MSG-0001 : message used when displaying interface to users
ERR-0001 : error message representing failure
WRN-0001 : warning message that represented a failure that is guarded against and does not halkt the process

This would make it much easier to verify that all the messages in source code have coresponding entrys in resource bundles using simple perl pattern matching script.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
peter royal made changes - 22/Feb/04 10:44 PM
Field Original Value New Value
Environment
Fix Version/s 1.0 [ 10213 ]
peter royal made changes - 14/Apr/04 8:51 PM
Affects Version/s 1.0 [ 10213 ]
Fix Version/s future [ 10610 ]
Fix Version/s 1.0 [ 10213 ]

People

  • Assignee:
    Unassigned
    Reporter:
    Peter Donald
Vote (0)
Watch (0)

Dates

  • Created:
    24/Aug/03 11:37 PM
    Updated:
    14/Apr/04 8:51 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.