Class PoLoader
Po file Loader.See more information about .po
files here(https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html).
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Rosetta.Runtime.Loader
Assembly: Rosetta.Runtime.dll
Syntax
public class PoLoader : LoaderBase
Methods
| Improve this Doc View SourceLoad<T>(String, String, Nullable<LangFlag>)
Declaration
public override T Load<T>(string _, string filename, LangFlag? flag = default(LangFlag? ))
Parameters
Type | Name | Description |
---|---|---|
System.String | _ | |
System.String | filename | |
System.Nullable<LangFlag> | flag |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Overrides
| Improve this Doc View SourceParse(String)
Parse the Po file string into a C# data Dictionary
and return it.
Declaration
public Dictionary<string, string> Parse(string str)
Parameters
Type | Name | Description |
---|---|---|
System.String | str | The Po file string |
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> |