GitHub Gist: star and fork bleft's gists by creating an account on GitHub. XLIFF is a well defined localization interchange format that bundles all localization strings in one file. Using XLIFF tools, the localization of Mac and iOS applications is straightforward. In this post, I want to present a (fairly) simple localization approach based on XLIFF.
Namespace: UnityEditor.Localization.Plugins.XLIFF.Common
Syntax
Properties
FileCount
Declaration
Property Value
Type | Description |
---|---|
Int32 |
SourceLanguage
Declaration
Property Value
Type | Description |
---|---|
String |
TargetLanguage
Declaration
Property Value
Type | Description |
---|---|
String |
Version
Ixl Effective
Declaration
Property Value
Type | Description |
---|---|
String |
Methods
AddFile(IFile)
Declaration
Parameters
Type | Name | Description |
---|---|---|
IFile | f |
AddNewFile()
Declaration
Returns
Type | Description |
---|---|
IFile |
Ixl Ff1
GetFile(Int32)
Declaration
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Returns
Type | Description |
---|---|
IFile |
Ixl Ff2
RemoveFile(IFile)
Declaration
Parameters
Type | Name | Description |
---|---|---|
IFile | f |
Serialize(Stream)
Declaration
Parameters
Type | Name | Description |
---|---|---|
Stream | stream |