General
RB Manager
RB Reporter

 

View 2. The Statistics Tab

The first tab on the right panel of the RB Manager application is the Statistics tab. As with all of the tab views, the statistics tab looks and functions differently when working with the resource bundle as a whole than when working with an individual resource file. For an overview of this difference see View 1.

Working with a Resource Bundle

The screen shot below shows RB Manager and some statistics concerning the resource bundle associated with the application.

Three basic areas are covered by this view, Resource Files, Resource Groups, and Resource Items.

In the Resource Files section, the total number of individual files is shown as well as the names of these files (made up of the language, country, and variant information known about the files). New resource files can be added to the bundle by pressing the 'Add a New Resource File' button or using the accelerator key (in this case 'N') in the manner specified by your operating system. New files can also be added through the Options menu.

In the Resource Groups section, the total number of groups associated with the bundle as well as an alphabetical list of the groups is displayed. For more information on Resource Groups, see the Tutorial. New groups can be created by pressing the 'Add a New Resourece Group' button. This can also be done from the Options menu or the Groups tab view.

In the Resource Items view, the total number of resources in the bundle is displayed. This number represents the number of resources in the base class file, as the other resource files are not required to posses all of the resource items. In addition, the number of duplicated resource keys is displayed. This number should be zero or the resource bundle may not function the way it was intended to. The list box will display the names of the duplicated keys, so that the errors can be removed. Note that if you create your Resource Bundles through RB Manager, you should never have duplicate keys. However, if you imported the bundles from another source, this error can be a common one.

Working with a Resource File

The screen shot below shows the statistics view for an individual resource file, in this case the German (Deutsch) file. For our example, I have removed some of the translations from this file.

This view shows some meta data that is associated with the Resource File. This meta data has absolutely no impact on the functioning of the resource bundle within an application. It is there solely to aid development and translation teams in managing their efforts.

The Resource Title is a way to identify this file and will show at the top of most views when working with a resource file. The Comment can be used to specify anything special about this file. The Resource File Manager is the person in charge of translations in the locale associated with the file. The Language, Country, and Variant represent the long names (i.e. not the ISO encodings) of the language, country, and variant associate with the file. These are the names that show up in the Resource Tree.

Also displayed for the selected file is the total number of translations in this file. This number should be less than or equal to the number of translations in the bundle. The number of untranslated resource items is also shown. These statistics are useful in monitoring the progress of translation. To work with the untranslated items, a convenient view is given in the Untranslated tab view.

View 3. The Untranslated Tab

Copyright 2000-2001 International Business Machines, All Rights Reserved