Setup Factory 10

Application.GetInstallLanguage

Application.GetInstallLanguage

This is the first topic This is the last topic  

Application.GetInstallLanguage

This is the first topic This is the last topic  

OverviewExamples

table Application.GetInstallLanguage (

)

Example 1

tInstallLanguage = Application.GetInstallLanguage();

Retrieves the primary and secondary install language, and stores this information in a table called "tInstallLanguage".  This information can be accessed by referencing tInstallLanguage.Primary and tInstallLanguage.Secondary.

Example 2

-- Retrieve the Install Language

tInstallLanguage = Application.GetInstallLanguage();

 

-- Check if the install language is english (English = 9)

if tInstallLanguage.Primary == 9 then

   -- install language is english

   Dialog.Message("Install Language", "Your install language is English!");

else

   -- install language is not english

   Dialog.Message("Install Language", "Your install language is not English!");

end

Retrieves the install language, compares the primary ID to the value representing English (9), and displays an appropriate message.

See also: Related Actions


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