128 static String translateWithCurrentMappings (
const String& text);
139 static String translateWithCurrentMappings (
const char* text);
197 std::unique_ptr<LocalisedStrings> fallback;
199 void loadFromText (
const String&,
bool ignoreCase);
212 #define TRANS(stringLiteral) juce::translate (stringLiteral) 222 #define NEEDS_TRANS(stringLiteral) (stringLiteral) String getLanguageName() const
Returns the name of the language specified in the translation file.
#define JUCE_API
This macro is added to all JUCE public class declarations.
A special array for holding a list of strings.
Used to convert strings to localised foreign-language versions.
const StringArray & getCountryCodes() const
Returns the list of suitable country codes listed in the translation file.
Represents a local file or directory.
A container for holding a set of strings which are keyed by another string.
const StringPairArray & getMappings() const
Provides access to the actual list of mappings.
Wraps a pointer to a null-terminated UTF-8 character string, and provides various methods to operate ...