Preparing a language string file for translation

Last update: 4 August 2017

Preparing a language string file for translation

Summary

This article describes how to load language strings from a text file (exported from a Fabasoft eGov-Suite 2012 installation) into a Fabasoft eGov-Suite 2013 installation and export it again with updated references. The new file can then be sent to a translation agency for translating the missing strings.

Information

The following instructions make use of the Bulgarian language. It is assumed that the language string file from the Fabasoft eGov-Suite 2012 (which contains the Bulgarian translations) already exists. It is also assumed that an Fabasoft eGov-Suite 2013 installation, running on Windows Server 2008, is available.

Solution

  1. Start the Fabasoft Folio Server Management of the Fabasoft eGov-Suite 2013 installation:
    image
  2. Select the menu option “Load” from the context menu of the domain:
    image
  3. Select the component “ComponentsLDK” from the Fabasoft eGov-Suite 2013 installation disc:
    image
  4. Select the entry “Fabasoft Folio/LDK and click on the button “Edit”.
  5. Select the checkbox for the language which you would like to install. For this example choose Bulgarian (?????????) and click on the button “OK”:
    image
  6. Click on “OK” again to start installing the new language.
  7. After the services have restarted open a command prompt on the server.
  8. Load the Bulgarian translations from the file into the Fabasoft eGov-Suite 2013 installation by executing the following commands:
set HOST=localhost
set PORT=18070
loader -langlang LANG_BULGARIAN -langload translation_strings_2012.txt
  1. Restart the Fabasoft Folio Backendservices and Fabasoft Folio Webservices after loading the file has completed.
  2. Log in with the System Administrator account and check if the translations were successfully loaded:
  3. Set the option “Multilingual Input” in the user environment to “true”:
    image
  4. Open the properties of a component object (for example object class “Folder”) and check if a translation for the loaded language exists:
    image
  5. Open a command prompt again and execute the following commands to export the translations into new files again, which will then contain new additional entries from the Fabasoft eGov-Suite 2013 installation:
set HOST=localhost
set PORT=18070
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentELAK.txt -langcomp ComponentELAK@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile EditionGovAUT.txt -langcomp EditionGovAUT@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile EditionGovCCA.txt -langcomp EditionGovCCA@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile EditionFolioCompliance.txt -langcomp EditionFolioCompliance@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentAT.txt -langcomp ComponentAT@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentBase.txt -langcomp ComponentBase@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentCM.txt -langcomp ComponentCM@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentCOLD.txt -langcomp ComponentCOLD@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentData.txt -langcomp ComponentData@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponenteServices.txt -langcomp ComponenteServices@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentFolio.txt -langcomp ComponentFolio@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentLDK.txt -langcomp ComponentLDK@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentWeb.txt -langcomp ComponentWeb@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentWD.txt -langcomp ComponentWD@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentWf.txt -langcomp ComponentWf@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentArchive.txt -langcomp ComponentArchive@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentArchiveExchange.txt -langcomp ComponentArchiveExchange@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentArchiveLink.txt -langcomp ComponentArchiveLink@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentArchiveNotes.txt -langcomp ComponentArchiveNotes@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentArchiveSharePoint.txt -langcomp ComponentArchiveSharePoint@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentMindbreeze.txt -langcomp ComponentMindbreeze@1.1
loader -langlang LANG_ENGLISH -langlang LANG_GERMAN -langlang LANG_BULGARIAN -langfile ComponentZS.txt -langcomp ComponentZS@1.1
  1. Merge the exported files into one single text file and save it. Note that the column headers should only exist in the first line of the file.
  2. Start Microsoft Excel.
  3. Choose “File -> Open”.
  4. Select file type “Text files”:
    image
  5. Choose the merged text file and click on “Open”.
  6. Click on “Finish” to close the import options dialog of Excel.
  7. Save the spreadsheet as a dedicated Excel document. This file can now be send to a translation agency for translating the missing strings:
    image

Further questions?