C# Class Polyglot.LocalizationImporter

Show file Open project: Skjalgsm/PolyglotUnity Class Usage Examples

Public Methods

Method Description
GetLanguages ( string key, List supportedLanguages = null ) : List

Get all language strings on a given key.

GetLanguagesContains ( string key ) : List>.Dictionary
GetLanguagesStartsWith ( string key ) : List>.Dictionary
IsLineBreak ( string currentString ) : bool

Checks if the current string is \r or \n

Refresh ( ) : void

Private Methods

Method Description
Init ( List csvFiles ) : void
LocalizationImporter ( ) : System
PopulateLanguageStrings ( ) : void

Method Details

GetLanguages() public static method

Get all language strings on a given key.
public static GetLanguages ( string key, List supportedLanguages = null ) : List
key string
supportedLanguages List
return List

GetLanguagesContains() public static method

public static GetLanguagesContains ( string key ) : List>.Dictionary
key string
return List>.Dictionary

GetLanguagesStartsWith() public static method

public static GetLanguagesStartsWith ( string key ) : List>.Dictionary
key string
return List>.Dictionary

IsLineBreak() public static method

Checks if the current string is \r or \n
public static IsLineBreak ( string currentString ) : bool
currentString string
return bool

Refresh() public static method

public static Refresh ( ) : void
return void