Difference between revisions of "LlGetAgentLanguage"

From Second Life Wiki
Jump to navigation Jump to search
m
m (I'm not sure about the accuracy of the above statement so i'm going to hold out on posting it until i can confirm)
Line 4: Line 4:
|p1_type=key|p1_name=avatar|p1_desc
|p1_type=key|p1_name=avatar|p1_desc
|return_type=string
|return_type=string
|return_text=that is the preferred language of the user '''avatar'''.  
|return_text=that is the language code of the preferred language of the user '''avatar'''.  
|func_desc
|func_desc
|func_footnote
|func_footnote=<!--The value returned is the same as the directory name of the XUI skin the user has selected. The value may not necessarily be one of those list below.-->
|caveats=*If the user has "{{HoverText|Share language with objects|LanguageIsPublic}}" disabled then this function returns an empty string.
|caveats=*If the user has "{{HoverText|Share language with objects|LanguageIsPublic}}" disabled then this function returns an empty string.
|examples
|examples
Line 16: Line 16:
|also_events
|also_events
|notes
|notes
|history=Introduced in {{SVN|568|rev=88085|branch=Release|ver=1.20.8|anchor=file33|date=Wednesday, 21 May 2008}}
|history=Introduced in {{SVN|568|rev=88085|branch=Release|anchor=file33|date=Wednesday, 21 May 2008}}
|cat1=Avatar
|cat1=Avatar
|cat2
|cat2

Revision as of 17:41, 19 June 2008

Emblem-important-red.png Pre-release Documentation Warning!

This function is not available yet. This documentation was written prior to its final release so it may not match the final implementation.

Summary

Function: string llGetAgentLanguage( key avatar );

Returns a string that is the language code of the preferred language of the user avatar.

• key avatar avatar UUID that is in the same region

Return Description
"en" English
"da" Dansk (Danish)
"de" Deutsch (German)
"es" Español (Spanish)
"fr" Français (French)
"it" Italiano (Italian)
"hu" Magyar (Hungarian)
"nl" Nederlands (Dutch)
"pl" Polski (Polish)
"pt" Portugués (Portuguese)
"ru" Русский (Russian)
"tr" Türkçe (Turkish)
"uk" Українська (Ukrainian)
"zh" 中文 (简体) (Chinese)
"ja" 日本語 (Japanese)
"ko" 한국어 (Korean)

Caveats

  • If the user has "Share language with objects" disabled then this function returns an empty string.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

History

Search JIRA for related Issues

Signature

function string llGetAgentLanguage( key avatar );