MSI Factory 2.3

System.GetDefaultLangID

System.GetDefaultLangID

This is the first topic This is the last topic  

System.GetDefaultLangID

This is the first topic This is the last topic  

OverviewExamples

number System.GetDefaultLangID (

)

Example 1

language_id = System.GetDefaultLangID();

Gets the language ID code and stores it in the variable "language_id."

Example 2

-- Retrieve the system's default language ID's

nLangID = System.GetDefaultLangID();

 

-- Check if language is English-US (1033)

if nLangID == 1033 then

   -- Default language is english

   Dialog.Message("Default Language", "Your default language is English!");

else

   -- Default language is not english

   Dialog.Message("Default Language", "Your default language is not English!");

end

Retrieves the system's default language ID and compares it to the value representing English-US (1033), and displays an appropriate message.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us