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)
227JUCE_API String translate (
const String& stringLiteral);
232JUCE_API String translate (
const char* stringLiteral);
237JUCE_API String translate (CharPointer_UTF8 stringLiteral);
242JUCE_API String translate (
const String& stringLiteral,
const String& resultIfNotFound);
Holds a resizable array of primitive or copy-by-value objects.
Represents a local file or directory.
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.
const StringPairArray & getMappings() const
Provides access to the actual list of mappings.
String getLanguageName() const
Returns the name of the language specified in the translation file.
A special array for holding a list of strings.
A container for holding a set of strings which are keyed by another string.
#define JUCE_API
This macro is added to all JUCE public class declarations.