Interface for a localized text source. 更多...
#include <ILocalizedTextSource.h>
Public 成员函数 | |
| virtual void | GetLocalizedCultureNames (const ELocalizationLoadFlags InLoadFlags, TSet< FString > &OutLocalizedCultureNames)=0 |
| Populate a list of culture names that this localized text source has resource data for (ELocalizationLoadFlags controls which resources should be checked). | |
| virtual bool | GetNativeCultureName (const ELocalizedTextSourceCategory InCategory, FString &OutNativeCultureName)=0 |
| Given a localization category, get the native culture for the category (if known). 更多... | |
| virtual int32 | GetPriority () const |
| Get the priority of this source when building the complete list of translations to apply (higher numbers have a higher priority). | |
| virtual void | LoadLocalizedResources (const ELocalizationLoadFlags InLoadFlags, TArrayView< const FString > InPrioritizedCultures, FTextLocalizationResource &InOutNativeResource, FTextLocalizationResource &InOutLocalizedResource)=0 |
| Load the localized resources from this localized text source for the given cultures into the given maps (ELocalizationLoadFlags controls which resources should be loaded). | |
| virtual EQueryLocalizedResourceResult | QueryLocalizedResource (const ELocalizationLoadFlags InLoadFlags, TArrayView< const FString > InPrioritizedCultures, const FTextId InTextId, FTextLocalizationResource &InOutNativeResource, FTextLocalizationResource &InOutLocalizedResource) |
| Query a localized resource from this localized text source for the given cultures and ID into the given maps (ELocalizationLoadFlags controls which resources should be queried). | |
Interface for a localized text source.
These can be registered with the text localization manager, and provide an extensible way to inject localized text to UE4.
|
pure virtual |
Given a localization category, get the native culture for the category (if known).