Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-1308

[classlib][internationalization]Internationalization of the Harmony modules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Classlib
    • None

    Description

      All modules in Harmony project are to be internationalized.
      After applying HARMONY-1201 patch every module has o.a.h.<module>.internal.nls package where you can find initial property file messages.properties with messages and Messages class to use these messages in sources. Keys in messages.properties file are supposed to have names <module>.<num>, where <module> is module name and <num> number of the message in the messages list in hex format.

      The task is to scan modules source files, find exception messages, extract them into the resource bundle and replace these messages in the source
      files with corresponding Messages.getString() call by key parameter from the resource bundle. The most convenient way to implement this is to use Eclipse with it's tool to externalize strings. The way to do that and it's advantages/disadvantages were discussed in the [classlib]strings externalization thread [1]. Strings that are not supposed to be externalized should be marked with NON-NLS tags (Eclipse tool skip such strings during externalization process).

      [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200607.mbox/%3cc79906b30607270353y4dfdb16bw92bc48fed76cb1c0@mail.gmail.com%3e

      Attachments

        1.
        [classlib][internationalization]Internationalization of the luni module Sub-task Open Unassigned
        2.
        [classlib][internationalization]Internationalization of the security module Sub-task Closed Tim Ellison
        3.
        [classlib][internationalization]Internationalization of the auth module Sub-task Closed Stepan Mishura
        4.
        [classlib][internationalization]Internationalization of the awt module Sub-task Closed Mark Hindess
        5.
        [classlib][internationalization]Internationalization of the nio module Sub-task Closed Paulex Yang
        6.
        [classlib][internationalization]Internationalization of the prefs module Sub-task Closed Paulex Yang
        7.
        [classlib][internationalization]Internationalization of the regex module Sub-task Closed Tim Ellison
        8.
        [classlib][internationalization]Internationalization of the rmi module Sub-task Closed Mark Hindess
        9.
        [classlib][internationalization]Internationalization of the nio_char module Sub-task Closed Paulex Yang
        10.
        [classlib][internationalization]Internationalization of the sql module Sub-task Closed Unassigned
        11.
        [classlib][internationalization]Internationalization of the swing module Sub-task Closed Alexey Petrenko
        12.
        [classlib][internationalization]Internationalization of the text module Sub-task Closed Tim Ellison
        13.
        [classlib][internationalization]Internationalization of the tools module Sub-task Open Unassigned
        14.
        [classlib][internationalization]Internationalization of the math module Sub-task Closed Tim Ellison
        15.
        [classlib][internationalization]Internationalization of the misc module Sub-task Closed Mark Hindess
        16.
        [classlib][internationalization]Internationalization of the annotation module Sub-task Closed Tim Ellison
        17.
        [classlib][internationalization]Internationalization of the applet module Sub-task Closed Unassigned
        18.
        [classlib][internationalization]Internationalization of the archive module Sub-task Closed Tim Ellison
        19.
        [classlib][internationalization]Internationalization of the beans module Sub-task Closed Mikhail Loenko
        20.
        [classlib][internationalization]Internationalization of the crypto module Sub-task Closed Tim Ellison
        21.
        [classlib][internationalization]Internationalization of the jndi module Sub-task Closed Tim Ellison
        22.
        [classlib][internationalization]Internationalization of the logging module Sub-task Closed Stepan Mishura
        23.
        [classlib][internationalization]Internationalization of the accessibility module Sub-task Closed Tim Ellison
        24.
        [classlib][internationalization]Internationalization of the instrument module Sub-task Closed Paulex Yang
        25.
        [classlib][internationalization]Internationalization of the sound module Sub-task Closed Mikhail Loenko
        26.
        [classlib][internationalization]Internationalization of the x-net module Sub-task Open Unassigned
        27.
        [classlib][internationalization]Internationalization of the imageIO module Sub-task Closed Unassigned

        Activity

          People

            Unassigned Unassigned
            ilya.okomin Ilya Okomin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: