Renderd7-nightly  v0.7.0
RenderD7::Lang Namespace Reference

RenderD7::Lang. More...

Functions

std::string getSys ()
 Get the 3ds System Language.
 
std::string get (const std::string &key)
 
void load (const std::string &lang)
 

Detailed Description

Function Documentation

◆ get()

std::string RenderD7::Lang::get ( const std::string &  key)

Get a translated string

Parameters
keyThe Key so the code can find your string

◆ load()

void RenderD7::Lang::load ( const std::string &  lang)

Load the lang file from dir structure en/app.json for sample

Parameters
langthe folder name en, fr, de ... . I prefer geSys()