Class TranslationMemoryUpgradeUtil
Utility class for upgrading file-based translation memories and
checking if they need maintenance
Inheritance
TranslationMemoryUpgradeUtil
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
public class TranslationMemoryUpgradeUtil
Constructors
Declaration
public TranslationMemoryUpgradeUtil()
Methods
Determine if file grained alingment (FGA) support is recommended
Declaration
public static bool FineGrainedAlignmentSupportRecommended(ITranslationMemory translationMemory)
Parameters
Returns
Determine if TM has content that should be aligned (FGA)
Declaration
public static bool TranslationMemoryRequiresAlignment(ITranslationProvider translationMemory)
Parameters
Returns
Determines if TM requires model rebuild
Declaration
public static bool TranslationMemoryRequiresModelRebuild(ITranslationProvider translationMemory)
Parameters
Returns
Determine if TM is indicating it has content that needs reindexing
Declaration
public static bool TranslationMemoryRequiresReindex(ITranslationProvider translationMemory)
Parameters
Returns
Determine if the TM requires upgrade
Declaration
public static bool TranslationMemoryRequiresUpgrade(ITranslationProvider translationMemory)
Parameters
Returns
Determine if the TM requires upgrade or FGA support is recommended
Declaration
public static bool TranslationMemoryRequiresUpgradeOrFGASupportRecommended(ITranslationProvider translationMemory)
Parameters
Returns
Determine if the TM will require a reindex after upgrade
Declaration
public static bool TranslationMemoryWillRequireReindexAfterUpgrade(ITranslationMemory translationMemory)
Parameters
Returns
Determine if the TM requires an upgrade with an Asian source language
Declaration
public static bool TranslationMemoryWithAsianLanguageRequiresUpgrade(ITranslationMemory translationMemory)
Parameters
Returns
Modifies the translation memory settings so as to prompt in-place upgrade when saved
Declaration
public static void UpgradeTranslationMemory(ITranslationMemory translationMemory)
Parameters
Diferentiate between Asian/non Asian source culture
Declaration
public static bool UseCharacterCounts(CultureCode cultureCode)
Parameters
Returns