Свойство | Тип | Описание | |
---|---|---|---|
resXFileEnding | string | ||
rootLanguageFilePath | string |
Метод | Описание | |
---|---|---|
AddNewKeyPersistent ( LocalizedObject>.Dictionary |
Adds a new key to a dictionary
|
|
AddNewKeyPersistent ( string>.Dictionary |
Adds a new key to a dictionary
|
|
CheckAndCreateDirectory ( string path ) : void |
Checks if the directory exist the and creates it if it doesn't
|
|
CheckAvailableLanguages ( List |
Checks the available languages.
|
|
CheckIfFileExists ( string filePath ) : bool |
Checks if file exists.(Full filepath)
|
|
CheckIfLanguageFileExists ( string language ) : bool |
Checks if language file exists.
|
|
CheckIfRootLanguageFileExists ( ) : bool |
Checks if root language file exists.
|
|
CopyFileIntoResources ( SerializableLocalizationObjectPair, objectPair, CultureInfo thisCultureInfo ) : string |
Copies the file into the resources folder. Naming the new asset to KEY
|
|
CreateNewLanguage ( string languageName ) : void |
Creates a new language file with the keys from the root file.
|
|
CreateRootResourceFile ( ) : void |
Creates the root resource file.
|
|
CreateSerializableLocalizationList ( LocalizedObject>.Dictionary |
Creates the serializable localization list from the parsed LocalizedObjects
|
|
DeleteFileFromResources ( string key, CultureInfo thisCultureInfo ) : void |
Deletes the localized file from resources.
|
|
DeleteLanguage ( CultureInfo cultureInfo ) : void |
Deletes the language.
|
|
GetAvailableLanguages ( ) : List |
Returns a list with all the available languages
|
|
GetFileExtension ( string fullFilePath ) : string |
Gets the file extension from the full filePath
|
|
GetFileExtension ( string fileName, string relativeFolderPath ) : string |
Gets the file extension for the file at the specified path
|
|
LoadAllAssets ( List |
Loads all assets in language values if they have a valid file path
|
|
LoadLanguageFile ( string languageCode ) : string>.Dictionary |
Loads the language file and returns the RAW values
|
|
LoadParsedLanguageFile ( string languageCode ) : LocalizedObject>.Dictionary |
Loads the parsed language file.(without the type identifiers)
|
|
RenameFileFromResources ( string key, string newKey, CultureInfo thisCultureInfo ) : void |
Renames the localized file from resources.
|
|
SaveLanguageFile ( string>.Dictionary |
Saves a language file(.resx) at the specified path containing the values in the languageValueDictionary
|
|
SaveRootLanguageFile ( string>.Dictionary |
Saves the root language file and updates all the available languages.
|
public static AddNewKeyPersistent ( LocalizedObject>.Dictionary |
||
thisDictionary | LocalizedObject>.Dictionary | |
desiredKey | string | |
newValue | LocalizedObject, | |
Результат | string |
public static AddNewKeyPersistent ( string>.Dictionary |
||
thisDictionary | string>.Dictionary | |
desiredKey | string | |
newValue | string | |
Результат | string |
public static CheckAndCreateDirectory ( string path ) : void | ||
path | string | |
Результат | void |
public static CheckAvailableLanguages ( List |
||
availableLanguages | List |
|
notAvailableLanguages | List |
|
notAvailableLanguagesEnglishNames | List |
|
Результат | void |
public static CheckIfFileExists ( string filePath ) : bool | ||
filePath | string |
/// If set to |
Результат | bool |
public static CheckIfLanguageFileExists ( string language ) : bool | ||
language | string |
/// If set to |
Результат | bool |
public static CheckIfRootLanguageFileExists ( ) : bool | ||
Результат | bool |
public static CopyFileIntoResources ( SerializableLocalizationObjectPair, objectPair, CultureInfo thisCultureInfo ) : string | ||
objectPair | SerializableLocalizationObjectPair, | /// Object pair. /// |
thisCultureInfo | CultureInfo | |
Результат | string |
public static CreateNewLanguage ( string languageName ) : void | ||
languageName | string | /// The name of the language /// |
Результат | void |
public static CreateRootResourceFile ( ) : void | ||
Результат | void |
public static CreateSerializableLocalizationList ( LocalizedObject>.Dictionary |
||
languageValues | LocalizedObject>.Dictionary | /// Language values. /// |
Результат | List |
public static DeleteFileFromResources ( string key, CultureInfo thisCultureInfo ) : void | ||
key | string | /// Key. /// |
thisCultureInfo | CultureInfo | /// This culture info. /// |
Результат | void |
public static DeleteLanguage ( CultureInfo cultureInfo ) : void | ||
cultureInfo | CultureInfo | /// Culture info. /// |
Результат | void |
public static GetAvailableLanguages ( ) : List |
||
Результат | List |
public static GetFileExtension ( string fullFilePath ) : string | ||
fullFilePath | string | /// Full file path. /// |
Результат | string |
public static GetFileExtension ( string fileName, string relativeFolderPath ) : string | ||
fileName | string | /// The file name without the extension. If the full name is for example hello.png, this parameter /// should be only "hello" /// |
relativeFolderPath | string | /// The relative path to the folder containing the asset file /// relativeFolderPath should be relative to the project folder. Like: "Assets/MyTextures/". /// |
Результат | string |
public static LoadAllAssets ( List |
||
thisLanguageValues | List |
|
Результат | void |
public static LoadLanguageFile ( string languageCode ) : string>.Dictionary |
||
languageCode | string | |
Результат | string>.Dictionary |
public static LoadParsedLanguageFile ( string languageCode ) : LocalizedObject>.Dictionary |
||
languageCode | string | /// Language code. /// |
Результат | LocalizedObject>.Dictionary |
public static RenameFileFromResources ( string key, string newKey, CultureInfo thisCultureInfo ) : void | ||
key | string | /// Key. /// |
newKey | string | |
thisCultureInfo | CultureInfo | /// This culture info. /// |
Результат | void |
public static SaveLanguageFile ( string>.Dictionary |
||
languageValueDictionary | string>.Dictionary | /// Language value dictionary. /// |
filePath | string | /// File path. /// |
Результат | void |
public static SaveRootLanguageFile ( string>.Dictionary |
||
changedRootKeys | string>.Dictionary | |
changedRootValues | string>.Dictionary | |
Результат | void |