Tramway SDK
Functions
tram::Language Namespace Reference

Localization services. More...

Functions

void Load (const char *filename)
 Loads a language file. More...
 
const char * Get (name_t name)
 Retrieves a string from the loaded language files. More...
 
char UTF16ToLatin7 (uint16_t code)
 Converts a UTF16 codepoint to a Latin7 codepoint. More...
 

Detailed Description

Localization services.

Provides services for application localization, character re-encoding, translation, etc.

See also
https://racenis.github.io/tram-sdk/documentation/framework/language.html

Function Documentation

◆ Get()

const char * tram::Language::Get ( name_t  name)

Retrieves a string from the loaded language files.

◆ Load()

void tram::Language::Load ( const char *  filename)

Loads a language file.

◆ UTF16ToLatin7()

char tram::Language::UTF16ToLatin7 ( uint16_t  code)

Converts a UTF16 codepoint to a Latin7 codepoint.