OCL.

GetLocalization(Sprite, SystemLanguage) Method

Summary

Returns localization of spriteId for language. This method shouldn't be called directly as it won't handle active, defaultLanguage, useDefaultLanguageForNullValues and forceLanguage parameters. Call it only if you need to access localization data directly without taking care of OCL setup.
Namespace
OneClickLocalization
Containing Type
OCL

Syntax

public static Sprite GetLocalization(Sprite spriteId, SystemLanguage language)

Parameters

Name Type Description
spriteId Sprite
language SystemLanguage

Return Value

Type Description
Sprite null if no localization found