Skip to content
reduz edited this page Oct 15, 2014 · 10 revisions

Translation

####Inherits: Resource ####Category: Core

Brief Description

Language Translation.

Member Functions

Description

Translations are resources that can be loaded/unloaded on demand. They map a string to another string.

Member Function Description

  • void set_locale ( String locale )

Set the locale of the translation.

Return the locale of the translation.

  • void add_message ( String src_message, String xlated_message )

Add a message for translation.

Return a message for translation.

  • void erase_message ( String src_message )

Erase a message.

Return all the messages (keys).

Clone this wiki locally