harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry B. Yershov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3026) [drlvm] Add Internationalization support to the drlvm.
Date Fri, 19 Jan 2007 09:47:29 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465997
] 

Dmitry B. Yershov commented on HARMONY-3026:
--------------------------------------------

Archive i18n_patch contains following files:
    logparams.h - This file should be copied into <drlvm_trunk>/vm/port/include/
    harmony.properties - This file should be copied into < drlvm_trunk>/vm/vmcore/src/init/
    classlib_portlib.patch - patch for CLASSLIB's portlib.
    drlvm.patch - patch for drlvm.

Some implementation details:
    1. Work with message catalogues was reused (with little overpatching) from CLASSLIB's
portlib module. Now, portlib can use 1-4 message catalogues simultaneously instead of 1, because
at present we have 2 sets of message catalogues: one for CLASSLIB and second for the drlvm.
    2. I added encoding functionality to CLASSLIB's portlib - buf_write_text function. This
function convert input buffer to the appropriate platform encoding and return another buffer
with converted data. There is a question: Should portlib's version be increased?
    3. drlvm logging system (based on apache log4cxx) was adapted to use internationalization.
LECHO, LDIE and LWARN macroses were introduced for these purposes.
    4. Initial refactoring was done. Almost all DIE, ECHO and WARN messages were replaced
by their localized analogs.

This patch was tested on Windows ia32 and Linux ia32.

Further improvements:
	At present, drlvm has only one message catalogue (harmony.properties file). It is English
message catalogue. We should translate this MC to other languages.


> [drlvm] Add Internationalization support to the drlvm.
> ------------------------------------------------------
>
>                 Key: HARMONY-3026
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3026
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: All
>            Reporter: Dmitry B. Yershov
>            Priority: Minor
>         Attachments: i18n_patch.zip
>
>
> Internationalization support (disussed in the harmony-dev) should be added to the drlvm.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message