Next: , Previous: Connection Methods, Up: Core Methods



5.1.5 LanguageStrings Methods

— Method on LanguageStrings: init ozName storageRef

Nothing unusual here.

— Method on LanguageStrings: getLanguageString key string

Simple dictionary lookup on the languageStrings dictionary. If the key passed as an argument does not exist, a blank, globally localized string is returned. )"

— Method on LanguageStrings: setLanguageString key string

Dictionary write on the languageStrings dictionary. Any languages not covered by the string argument are left as they were.

— Method on LanguageStrings: resetLanguageStrings

Reloads all of the default language strings. Note that if new languages have been added, they will not be overwritten; only the languages that ship with the server by default will be, and only in the original strings; no newly added strings will be affected.