MagicTransDictionary Members
The MagicTransDictionary type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
MagicTransDictionary()()()() |
Initializes a new empty instance of the MagicTransDictionary class.
|
![]() |
MagicTransDictionary(Int32) |
Initializes a new instance of the MagicTransDictionary class fletching it from MagicCMS database.
|
![]() |
MagicTransDictionary(String, String) |
Initializes a new instance of the MagicTransDictionary class.
|
Methods
Name | Description | |
---|---|---|
![]() |
Save |
This method inserts the term translation in Dictionary table of MagicCMS database. If translation
exists for this languages it updates translation.
|
![]() ![]() |
Translate(String, String) |
Get the translation of the specified word or sentence in language langId if it exists, otherwise return the untranslated sentence.
|
![]() ![]() |
Translate(String) |
Get the translation of the specified word or sentence in Current Language if it exists, otherwise return the untranslated sentence.
|
Properties
Name | Description | |
---|---|---|
![]() |
LangId |
Gets or sets the language identifier of the translation.
|
![]() |
Pk |
Gets or sets the pk (Unique ID of .
|
![]() |
Source |
Gets or sets the source word or sentence.
|
![]() |
Translation |
Gets or sets the translation of the Source in the language LangId.
|