-
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.
- void
set_locale( String locale )
Set the locale of the translation.
-
String
get_locale( ) const
Return the locale of the translation.
Add a message for translation.
Return a message for translation.
- void
erase_message( String src_message )
Erase a message.
-
StringArray
get_message_list( ) const
Return all the messages (keys).