Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | system.language SEARCH    

  Functions
alert
log
system.battery.ACLineStatus
system.battery.LifePercent
system.beep
system.clipboard.clear
system.clipboard.get.format
system.clipboard.get.image
system.clipboard.get.text
system.clipboard.set.image
system.clipboard.set.text
system.createUniqueId
system.dialog
system.doEvents
system.execute
system.explore
system.getColors
system.getComputerId
system.getComputerName
system.getMemoryInfo
system.getUserName
system.ignoreCriticalErrors
system.language
system.lastError
system.logIsEnabled
system.message
system.mioEngine.countInstances
system.mioEngine.filename
system.mioEngine.version
system.openURL
system.os
system.platform
system.priority
system.userIsAdmin
system.winapi.errorMsg
system.winapi.lastError
system._hidden
system._showInTaskBar

  Events
event.error
event.exception
event.memoryFull
event.screen:resolution:change
event.system:desktop:changed
event.system:display:changed

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
system.language

Language: MioScript
Product: MioFactory


Syntax

system.language()


Parameters

None.


Return value

Language Identifier.



Description

Returns the language ID of the current user local.

Can be one of the following values:

AFRIKAANS
ARABIC
BASQUE
BELARUSIAN
BULGARIAN
CATALAN
CHINESE
CROATIAN
CZECH
DANISH
DUTCH
ENGLISH
ESTONIAN
FAEROESE
FARSI
FINNISH
FRENCH
GERMAN
GREEK
HEBREW
HUNGARIAN
ICELANDIC
INDONESIAN
ITALIAN
JAPANESE
KOREAN
LATVIAN
LITHUANIAN
NORWEGIAN
POLISH
PORTUGUESE
ROMANIAN
RUSSIAN
SLOVAK
SLOVENIAN
SPANISH
SWEDISH
THAI
TURKISH
VIETNAMESE
unknown




MioScript Sample Code

&language=system.language()

if(&language = "ENGLISH")
    ...
if.else

    ...
if.end