Audacity 3.2.0
Languages.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 Languages.h
6
7 Dominic Mazzoni
8
9**********************************************************************/
10
11#ifndef __AUDACITY_LANGUAGES__
12#define __AUDACITY_LANGUAGES__
13
14class wxArrayString;
15class wxString;
16
17#include "Identifier.h"
18#include "Internat.h"
19
20namespace Languages {
21
29STRINGS_API
30void GetLanguages( FilePaths pathList,
31 wxArrayString &langCodes, TranslatableStrings &langNames);
32
36STRINGS_API
37wxString GetSystemLanguageCode(const FilePaths &pathList);
38
43STRINGS_API
44wxString SetLang( const FilePaths &audacityPathList, const wxString & lang );
45
47STRINGS_API
48wxString GetLang();
49
51STRINGS_API
52wxString GetLangShort();
53
55STRINGS_API
56wxString GetLocaleName();
57
58}
59
60#endif // __AUDACITY_LANGUAGES__
std::vector< TranslatableString > TranslatableStrings
Extend wxArrayString with move operations and construction and insertion fromstd::initializer_list.
wxString GetSystemLanguageCode(const FilePaths &pathList)
Definition: Languages.cpp:83
wxString GetLang()
Definition: Languages.cpp:395
wxString GetLocaleName()
Definition: Languages.cpp:390
void GetLanguages(FilePaths pathList, wxArrayString &langCodes, TranslatableStrings &langNames)
Definition: Languages.cpp:140
wxString GetLangShort()
Definition: Languages.cpp:403
wxString SetLang(const FilePaths &pathList, const wxString &lang)
Definition: Languages.cpp:324