IDEMSInternational / TranslateWinForms

Provides utility functions to translate the text in WinForm objects (e.g. menu items, forms and controls) to a different natural language (e.g. to French).
GNU General Public License v3.0
0 stars 2 forks source link

Create 2 classes for database creation functions and for reading translations. #7

Closed Patowhiz closed 2 years ago

Patowhiz commented 2 years ago

Currently we have clsTranslateWinForms class that contains functions for populating the database and also reading translations. These are 2 distinct primary activities performed in different stages.

I suggest splitting the class into 2 classes;

  1. A utility class with database creation and population functions; this includes populating the relevant tables with the translations id texts from the WinForms and Crowd In files, saving the translations texts in supported Crowd In file formats.
  2. A class for reading the translations as needed by the products using the library.
Patowhiz commented 2 years ago

This was fixed in PR #8 . 3 classes were created.