-
Notifications
You must be signed in to change notification settings - Fork 0
class_translation
reduz edited this page Feb 23, 2014
·
10 revisions
Inherits: resource\ Category: Core\
Language Translation.
- void #set_locale( String locale )
- String #get_locale(****) const
- void #add_message( String src_message, String xlated_message )
- String #get_message( String src_message ) const
- void #erase_message( String src_message )
- StringArray #get_message_list(****) const
Translations are resources that can be loaded/unloaded on demand. They map a string to another string.
== set_locale ==
- void #set_locale( String locale ) \ Set the locale of the translation. == get_locale ==
- String #get_locale(****) const \ Return the locale of the translation. == add_message ==
- void #add_message( String src_message, String xlated_message ) \ Add a message for translation. == get_message ==
- String #get_message( String src_message ) const \ Return a message for translation. == erase_message ==
- void #erase_message( String src_message ) \ Erase a message. == get_message_list ==
- StringArray #get_message_list(****) const \ Return all the messages (keys).