FlightGear next
locale.cxx File Reference

FlightGear Localization Support. More...

#include <config.h>
#include <cstdio>
#include <cstring>
#include <cstddef>
#include <cassert>
#include <memory>
#include <string>
#include <vector>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/misc/sg_dir.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/props/props.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/structure/exception.hxx>
#include "fg_props.hxx"
#include "locale.hxx"
#include <Add-ons/AddonManager.hxx>
#include <Add-ons/AddonMetadataParser.hxx>
#include <Translations/DefaultTranslationParser.hxx>
#include <Translations/FGTranslate.hxx>
#include <Translations/XLIFFParser.hxx>

Go to the source code of this file.

Classes

class  Addon
 
class  DefaultTranslationParser
 Class for parsing a FlightGear default translation file (e.g., menu.xml) More...
 
class  TranslationDomain
 Class that holds translation resources within a domain. More...
 

Functions

string removeLocalePart (const string &locale)
 
std::string fgTrMsg (const char *key)
 
std::string fgTrPrintfMsg (const char *key,...)
 

Detailed Description

FlightGear Localization Support.

Definition in file locale.cxx.

Function Documentation

◆ fgTrMsg()

std::string fgTrMsg ( const char * key)

Definition at line 646 of file locale.cxx.

◆ fgTrPrintfMsg()

std::string fgTrPrintfMsg ( const char * key,
... )

Definition at line 651 of file locale.cxx.

◆ removeLocalePart()

string removeLocalePart ( const string & locale)

Definition at line 75 of file locale.cxx.