RC-WinTrans Object Model Help |
TranslationProject.IsUpToDate
|
Returns whether if all files data are up-to-date for the given target language."Up-to-date" means that all source file data matches the data saved in the database.
Syntax: |
IsUpToDate ( Language As String) As Boolean |
| Return: | Boolean. "True" if the data of all files in the database are up-to-date. Else "False". |
| Parameters: |
Language: Language code (e.g. "en-US"). Target language data to be updated. |
| Example: |
Dim Project As TranslationProject
Dim UpToDate As Boolean
Set Project = Application.ActiveProject
UpToDate = Project.IsUpToDate("fr")
if Application.Errors.Count > 0 Then
MsgBox (pplication.Errors.LastError)
End if
|
See also: