A Translation contains a string which is a translation of text into a specific language, as well as other secondary information about that translation.
More...
Inherits IComparable< Translation >.
|
| Translation () |
| Creates a new Translation.
|
|
| Translation (int id, string languageCode) |
| Creates a new Translation with the specified ID and ISO-639 language code.
|
|
| Translation (int id, string languageCode, string text) |
| Creates a new Translation with the specified ID, language code, and text.
|
|
| Translation (string languageCode) |
| Creates a new Translation with the specified ISO-639 language code.
|
|
int | CompareTo (Translation other) |
| Compares the Translation to another Translation.
|
|
|
int | id |
| The ID of the translation. This ID should be the same as the ID for the equivalent translation of other languages in the same library.
|
|
string | language |
| The ISO-639 language code of the translation.
|
|
string | text |
| The text of the translation.
|
|
A Translation contains a string which is a translation of text into a specific language, as well as other secondary information about that translation.
◆ Translation() [1/4]
EasyTalk.Localization.Translation.Translation |
( |
| ) |
|
Creates a new Translation.
◆ Translation() [2/4]
EasyTalk.Localization.Translation.Translation |
( |
int | id, |
|
|
string | languageCode ) |
Creates a new Translation with the specified ID and ISO-639 language code.
- Parameters
-
id | The ID of the Translation. |
languageCode | The ISO-639 language code to use. |
◆ Translation() [3/4]
EasyTalk.Localization.Translation.Translation |
( |
int | id, |
|
|
string | languageCode, |
|
|
string | text ) |
Creates a new Translation with the specified ID, language code, and text.
- Parameters
-
id | The ID of the Translation. |
languageCode | The ISO-639 language code to use. |
text | The text of the translation. |
◆ Translation() [4/4]
EasyTalk.Localization.Translation.Translation |
( |
string | languageCode | ) |
|
Creates a new Translation with the specified ISO-639 language code.
- Parameters
-
languageCode | The ISO-639 language code to use. |
◆ CompareTo()
int EasyTalk.Localization.Translation.CompareTo |
( |
Translation | other | ) |
|
Compares the Translation to another Translation.
- Parameters
-
other | The other Translation to compare to. |
- Returns
- The comparison value.
◆ id
int EasyTalk.Localization.Translation.id |
The ID of the translation. This ID should be the same as the ID for the equivalent translation of other languages in the same library.
◆ language
string EasyTalk.Localization.Translation.language |
The ISO-639 language code of the translation.
◆ text
string EasyTalk.Localization.Translation.text |
The text of the translation.