How I can speed up work with my big Sisulizer project?

Sisulizer’s projects can be really very large, especially for binary files (e.g. for Delphi and Win32 exe or DLLs) when you add all resource data types to the project.  In many cases there is no need to translate all properties.  For example colors or bitmaps are not always needed to be translated. They just bring extra rows and make the project file larger and make it slower to process. For example it can cause following issues:

  • Longer loading and saving time
  • Longer scan and build time
  • Slower work of translation sheet
  • Out of memory messages for big projects (Sisulizer can address max. 2 GB of RAM)

Luckily, Sisulizer has implemented a feature to exclude unnecessary data types from projects. This feature is available on source and general levels and also for exchange and export features.

Project

You can change these settings for selected source in your project via:

  • “Project” menu -> “Edit source” -> your source -> “Excluded Types” tab
  • Source node in Project tree -> “Properties” item in context menu-> “Excluded Types” tab

Excluded Types in source properties

Items from list of data types always depend on source file type, and you will see other items for Visual C++ file and other for HTML source file. These excluded data types settings are related to the localization source properties, not to project, so you can set excluded data types separately for each source in your project. Sisulizer use optimized (default) values for this feature during creation of new project, or during adding new source to existing project, so usually you needn’t change anything. However, I recommend change these settings in following cases:

  • Your project doesn’t use default settings, e.g. your source has enabled all data types
  • You would like localize some not default data types e.g. fonts or images

For first above example I recommend use “Default” button visible on right side of “Excluded Types” dialog. For second example I recommend uncheck only required data type(s)

General settings

You can set your own excluded data type list also in “Tools” menu > “General” > “Excluded Data Types” tab. These settings are used for all new projects and for all sources added to already existed projects after changes in “Excluded Data Types”. List from this dialog is related to all supported source file types, so you can find here all data types supported by Sisulizer.

Excluded Types in General settings

Exchange and Export Wizards

You can also exclude selected data types in Exchange and Export Wizards:

  • “File” menu -> “Export” -> “Export Wizard – Options” step -> “Data Types”
  • “File” menu -> “Exchange” -> “Exchange Wizard – Filter” step -> “Data Types”

These settings are applied to whole contents of exported project or exchange package. So if you add all sources from your project to Exchange package, Sisulizer use excluded data types settings from Exchange Wizard to all sources in package. Using these settings can be useful, if you would like reduce size of project send to your translators, or if you don’t want get your translators access to some data types. Below is a screenshot from “Excluded Types” dialog in “Exchange Wizard”.

Excluded Types in Exchange Wizard

Hints

  1. If you open excluded data types dialog you can find “Default” and “Strings only” buttons on right side of these dialogs.  “Default” button restore default Sisulizer’s settings for selected source type, while “Strings only” excludes all but strings data type. What’s the difference? When you use “Strings only” for your binary source, Sisulizer exclude also “Boolean” and “Integer” data types, while “Default” setting doesn’t exclude it. Integer numbers are required by Sisulizer to resizing components. Some languages have longer captions and labels than English languages, and it can cause clipped items in forms for these languages. So, if you want to allow your translators to adjust sizes of components, you should uncheck this item on list or use “Default” button. This problem was described also in other article on our blog. However, if you would like keep original sizes of controls for all your localized versions, you can check this item or use “Strings only” button.
  2. Sisulizer display in “Data Types” section of “Filter Panel” all data types detected in your sources, also excluded data types in source properties, but these inactive items are inactive (in grayed color).
    Filter panel
    So if you want to use these Filter panel items, you need to uncheck it in “Excluded Types” tab first.
  3. You can also  disable selected resource types for some platforms (“Resources” tab in source properties). Disabling of selected resource exclude from scan selected resource node with all included to node data types, while disabling of data type exclude from localization selected data type for whole project. More information about resources selection you can find in this article on our blog.

Janusz

Leave a Reply