Configuring Data Translation

Configuring Data Translation

Users want to see business names in Excel instead of database ones.

For example, "Manager Name" is much better then "MGR_NAME" and "Budget Form" is much better then "xls41.uspBudgetForm".

As a result, database developers create (and modify then) a lot of views and procedures to show data with required business names.

The SaveToDB add-in allows solving this task much simpler.

The add-in reads translations from databases and applies the translation within Excel.

Just install SaveToDB Framework to your database and use a configuration workbook to translate names of database objects, fields, and parameters.

Also, you may create own configuration objects as described in the specification below.

Users may select an actual data translation language using the Options dialog box.

To reload changed translation, use the Reload, Reload Data and Configuration button for column and parameter names, and the Reload Query List button for object names.

Also, you may create special named cells to show values from translation tables in worksheets.

Configuration Specification

SaveToDB reads translations from tables and views with the following fields:

  1. An optional primary key column like ID
  2. TABLE_SCHEMA *
  3. TABLE_NAME
  4. COLUMN_NAME **
  5. LANGUAGE_NAME
  6. TRANSLATED_NAME
  7. TRANSLATED_DESC
  8. TRANSLATED_COMMENT ***

* The add-in does not use the TABLE_SCHEMA field values with Microsoft SQL Server Compact and SQLite.

** The add-in also reads object name translations from tables and views in the previous format without the COLUMN_NAME field.

*** The add-in also reads column and parameter translations from tables and views in the previous format without the TRANSLATED_COMMENT field.

The SaveToDB Framework 8 creates the xls.translations table following the specification.

TABLE_SCHEMA and TABLE_NAME define objects.

The COLUMN_NAME field defines a column or a parameter.

The LANGUAGE_NAME field must contain the first two characters of a language code like "en" or "fr".

The TRANSLATED_NAME field is a main field. The add-in uses it to translate names in UI elements.

The add-in uses the TRANSLATED_DESC field to show UI element descriptions (if applicable).

The add-in uses the TRANSLATED_COMMENT field to update special named cells.

You may set NULL values in the TABLE_NAME field to define default column and parameter names for all objects in the schema.

Also, you set NULL values in the TABLE_SCHEMA and TABLE_NAME fields to define default column and parameter names for all objects in a database.

This website is using cookies. By continuing to browse, you give us your consent to our use of cookies as explained in our Cookie Policy.