IBE.SQL.EliteDBIO.updateTranslation C# (CSharp) Method

updateTranslation() public method

updates the localization of all commodities for the current language
public updateTranslation ( ) : void
return void
        public void updateTranslation()
        {
            try
            {

                String currentLanguage = Program.DBCon.getIniValue(IBESettingsView.DB_GROUPNAME, "Language", Program.BASE_LANGUAGE, false);

                switchLanguage(currentLanguage);

            }
            catch (Exception ex)
            {
                throw new Exception("Error while updating the current translation", ex);
            }
        }