GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Macros
Localization.h File Reference

Go to the source code of this file.

Macros

#define _(s)   gd::String(u8##s)
 

Detailed Description

Provide a way to mark strings to be translated.

Strings to be translated in GDevelop Core codebase are marked with the underscore macro, for example: _("Hello World").

The macro is then defined to be using the translation function of the underlying platform (Emscripten for GDevelop 5).