Claims
- 1. A method of translating strings included in management definition data, said method comprising:
locating one or more display strings within a management definition data file; copying each of the display strings from the management definition data file; determining an identifier for each of the display strings; writing the identifiers and the corresponding display strings to a translation template; and writing the identifier to the management definition data file.
- 2. The method as described in claim 1 further comprising:
translating the display strings written to the translation template to one or more national languages; and generating runtime files, the runtime files including the translated display strings.
- 3. The method as described in claim 2 further comprising:
selecting a language from the one or more national languages; invoking at least one of the runtime files; and displaying the translated display strings corresponding to the selected language in response to the invoking.
- 4. The method as described in claim 2 further comprising:
reading a plug-in code file, wherein the plug-in code file is adapted to interface with a management console; creating a resource bundle in response to determining that the management console supports resource bundles; and writing translated display strings for a plurality of national languages to the resource bundle.
- 5. The method as described in claim 2 further comprising:
reading a plug-in code file, wherein the plug-in code file is adapted to interface with a management console; creating a plurality of runtime files, each of the runtime files corresponding to one of the national languages; and writing the translated display strings for each national language to one of the runtime files.
- 6. The method as described in claim 1 wherein the management definition data file includes a common information model managed object format file.
- 7. The method as described in claim 1 wherein at least one of the display strings is selected from the group consisting of a qualifier value, a display panel object, an element name, a menu item name, and a tree node name.
- 8. An information handling system comprising:
one or more processors; a memory accessible by the processors; a nonvolatile storage area accessible by the processors; and a translation tool for translating strings from a management definition file stored on the nonvolatile storage device, the translation tool including:
search logic for locating one or more display strings within the management definition file; transfer logic for copying each of the display strings from the management definition file; identifier generation logic for determining an identifier for each of the display strings; output logic for writing the identifiers and the corresponding display strings to a translation template; and output logic for writing the identifier to the management definition data file.
- 9. The information handling system as described in claim 8 further comprising:
translation logic for translating the display strings written to the translation template to one or more national languages; and file generation logic for generating runtime files, the runtime files including the translated display strings.
- 10. The information handling system as described in claim 9 further comprising:
selection logic for selecting a language from the one or more national languages; dispatch logic for invoking at least one of the runtime files; and display logic for displaying the translated display strings corresponding to the selected language in response to the invoking.
- 11. The information handling system as described in claim 9 further comprising:
input logic for reading a plug-in code file, wherein the plug-in code file is adapted to interface with a management console; output logic for creating a resource bundle in response to determining that the management console supports resource bundles; and output logic for writing translated display strings for a plurality of national languages to the resource bundle.
- 12. The information handling system as described in claim 9 further comprising:
input logic for reading a plug-in code file, wherein the plug-in code file is adapted to interface with a management console; output logic for creating a plurality of runtime files, each of the runtime files corresponding to one of the national languages; and output logic for writing the translated display strings for each national language to one of the runtime files.
- 13. The information handling system as described in claim 8 wherein the management definition file includes a common information model managed object format file.
- 14. The information handling system as described in claim 8 wherein at least one of the display strings is selected from the group consisting of a qualifier value, a display panel object, an element name, a menu item name, and a tree node name.
- 15. A computer program product stored on a computer operable medium for translating strings included in management definition data, said computer program product comprising:
means for locating one or more display strings within a management definition data file; means for copying each of the display strings from the management definition data file; means for determining an identifier for each of the display strings; means for writing the identifiers and the corresponding display strings to a translation template; and means for writing the identifier to the management definition data file.
- 16. The computer program product as described in claim 15 further comprising:
means for translating the display strings written to the translation template to one or more national languages; and means for generating runtime files, the runtime files including the translated display strings.
- 17. The computer program product as described in claim 16 further comprising:
means for selecting a language from the one or more national languages; means for invoking at least one of the runtime files; and means for displaying the translated display strings corresponding to the selected language in response to the invoking.
- 18. The computer program product as described in claim 16 further comprising:
means for reading a plug-in code file, wherein the plug-in code file is adapted to interface with a management console; means for creating a resource bundle in response to determining that the management console supports resource bundles; and means for writing translated display strings for a plurality of national languages to the resource bundle.
- 19. The computer program product as described in claim 16 further comprising:
means for reading a plug-in code file, wherein the plug-in code file is adapted to interface with a management console; means for creating a plurality of runtime files, each of the runtime files corresponding to one of the national languages; and means for writing the translated display strings for each national language to one of the runtime files.
- 20. The computer program product as described in claim 15 wherein the management definition data file includes a common information model managed object format file.
- 21. The computer program product as described in claim 15 wherein at least one of the display strings is selected from the group consisting of a qualifier value, a display panel object, an element name, a menu item name, and a tree node name.
- 22. A method of translating strings included in management definition data, said method comprising:
locating one or more display strings within a management definition data file; copying each of the display strings from the management definition data file; determining an identifier for each of the display strings; writing the identifiers and the corresponding display strings to a translation template; writing the identifier to the management definition data file; translating the display strings written to the translation template to one or more national languages; and generating runtime files, the runtime files including the translated display strings.
- 23. A method of translating strings included in management definition data, said method comprising:
locating one or more display strings within a management definition data file, wherein the management definition data file includes a common information model managed object format file; copying each of the display strings from the management definition data file; determining an identifier for each of the display strings; writing the identifiers and the corresponding display strings to a translation template; writing the identifier to the management definition data file; translating the display strings written to the translation template to one or more national languages; generating runtime files, the runtime files including the translated display strings; selecting a language from the one or more national languages; invoking at least one of the runtime files; and displaying the translated display strings corresponding to the selected language in response to the invoking.
- 24. An information handling system comprising: one or more processors;
a memory accessible by the processors; a nonvolatile storage area accessible by the processors; and a translation tool for translating strings from a management definition file stored on the nonvolatile storage device, the translation tool including:
search logic for locating one or more display strings within the management definition file; transfer logic for copying each of the display strings from the management definition file; identifier generation logic for determining an identifier for each of the display strings; output logic for writing the identifiers and the corresponding display strings to a translation template; output logic for writing the identifier to the management definition data file; translation logic for translating the display strings written to the translation template to one or more national languages; and file generation logic for generating runtime files, the runtime files including the translated display strings.
- 25. A computer program product stored on a computer operable medium for translating strings included in management definition data, said computer program product comprising:
means for locating one or more display strings within a management definition data file; means for copying each of the display strings from the management definition data file; means for determining an identifier for each of the display strings; means for writing the identifiers and the corresponding display strings to a translation template; means for writing the identifier to the management definition data file; means for translating the display strings written to the translation template to one or more national languages; and means for generating runtime files, the runtime files including the translated display strings.
RELATED APPLICATIONS
[0001] This application is related to the following co-pending U.S. patent applications filed on the same day as the present application: “System and Method for Converting Management Models to Specific Console Interfaces,” by Barker, Diller, Gay, Hedstrom, Persche, Salahshoor, Sweitzer, and Thorpe Ser. No. ______ (Docket No. RSW920010048US1); “System and Method for Mapping Management Objects to Console Neutral User Interface,” by Barker, Diller, Gay, Hedstrom, Persche, Salahshoor, and Thorpe Ser. No. ______ (Docket No. RSW920010049US1); “System and Method for Obtaining Display Names from Management Models,” by Barker, Diller, Hedstrom, Persche, Salahshoor, and Thorpe Ser. No. ______ (Docket No. RSW920010051US1); and “System and Method for Packaging and Installing Management Models with Specific Console Interfaces,” by Barker, Diller, Hedstrom, Persche, Salahshoor, and Thorpe Ser. No. ______ (Docket No. RSW920010187US1). The present application and each of the related applications have been assigned to the IBM Corporation.