Index
A
- Loader::addPath() — Method in class Loader
- Add a path to the registry
B
- Loader::buildLanguageFileName() — Method in class Loader
- Build the file name for the language database
- Loader::buildLanguageDirName() — Method in class Loader
- Build the directory name for the language database
- Loader::buildLanguageFilePath() — Method in class Loader
- Build the absolute file path for the language database
- Loader::buildLanguageVarname() — Method in class Loader
- Build the variable name for the language database
- Loader::buildLanguageDBFileName() — Method in class Loader
- Build the file name for the language CSV database
- Loader::buildLanguageDBDirName() — Method in class Loader
- Build the directory name for the language CSV database
- Loader::buildLanguageDBFilePath() — Method in class Loader
- Build the file path for the language CSV database
- LoaderInterface::buildLanguageFileName() — Method in class LoaderInterface
- Build the file name for the language database
- LoaderInterface::buildLanguageDirName() — Method in class LoaderInterface
- Build the directory name for the language database
- LoaderInterface::buildLanguageFilePath() — Method in class LoaderInterface
- Build the absolute file path for the language database
- LoaderInterface::buildLanguageVarname() — Method in class LoaderInterface
- Build the variable name for the language database
- LoaderInterface::buildLanguageDBFileName() — Method in class LoaderInterface
- Build the file name for the language CSV database
- LoaderInterface::buildLanguageDBDirName() — Method in class LoaderInterface
- Build the directory name for the language CSV database
- LoaderInterface::buildLanguageDBFilePath() — Method in class LoaderInterface
- Build the absolute file path for the language CSV database
C
- Csv — Class in namespace I18n\Generator
- PluralizeNode::compile() — Method in class PluralizeNode
- TranslateNode::compile() — Method in class TranslateNode
D
F
- Loader::findLanguageDBFile() — Method in class Loader
- Find (and add if needed) a language file from options directories
- LoaderInterface::findLanguageDBFile() — Method in class LoaderInterface
- Find a language file from options directories
G
- Generator — Class in namespace I18n
- Generator::getDbFilepath() — Method in class Generator
- Generator::getGenerator() — Method in class Generator
- Generator::generate() — Method in class Generator
- GeneratorInterface — Class in namespace I18n
- GeneratorInterface::generate() — Method in class GeneratorInterface
- Csv::generate() — Method in class Csv
- I18n::getLoader() — Method in class I18n
- Gets the loader
- I18n::getLanguage() — Method in class I18n
- Get the current language code used
- I18n::getAvailableLocale() — Method in class I18n
- Get the full locale info for a language code
- I18n::getAvailableLanguages() — Method in class I18n
- Get the list of
Loader::available_languages
- I18n::getLocale() — Method in class I18n
- Get the current locale used by the system
- I18n::getTimezone() — Method in class I18n
- Get the current timezone used by the system
- I18n::getLocalizedString() — Method in class I18n
- Get the translation of an index
- I18n::getCurrency() — Method in class I18n
- Get the currency of the current locale
- I18n::getHttpHeaderLocale() — Method in class I18n
- Get the browser requested locale if so
- I18n::getAvailableLanguagesNames() — Method in class I18n
- Get the full list of
Loader::available_languages
option like human readable names - I18n::getLanguageCode() — Method in class I18n
- Get the language code of the current locale
- I18n::getRegionCode() — Method in class I18n
- Get the region code of the current locale
- I18n::getScriptCode() — Method in class I18n
- Get the script code of the current locale
- I18n::getKeywords() — Method in class I18n
- Get the keywords of the current locale
- I18n::getKeyword() — Method in class I18n
- Get one keyword value of the current locale
- I18n::getPrimaryLanguage() — Method in class I18n
- Get the primary language of a locale
- I18n::getLanguageName() — Method in class I18n
- Get the language name of a locale
- I18n::getCountryName() — Method in class I18n
- Get the country name of a locale
- I18n::getLocaleScript() — Method in class I18n
- Get the script name of a locale
- I18n::getLocaleVariant() — Method in class I18n
- Get the variant name of a locale
- I18n::getLocalizedNumberString() — Method in class I18n
- Get a localized number value
- I18n::getLocalizedPriceString() — Method in class I18n
- Get a localized price value
- I18n::getLocalizedDateString() — Method in class I18n
- Get a localized date value
- Iana::getDbFilepath() — Method in class Iana
- Iana::getDbFilename() — Method in class Iana
- Iana::getDbRealpath() — Method in class Iana
- Iana::getDb() — Method in class Iana
- Iana::getLanguages() — Method in class Iana
- Iana::getRegions() — Method in class Iana
- Iana::getScripts() — Method in class Iana
- Iana::getExtlangs() — Method in class Iana
- Loader::getParsedOption() — Method in class Loader
- Parse an option value replacing
%s
by the actual language code - LoaderInterface::getOption() — Method in class LoaderInterface
- Get the value of a specific option
- I18nExtension::getName() — Method in class I18nExtension
- I18nExtension::getGlobals() — Method in class I18nExtension
- I18nExtension::getFilters() — Method in class I18nExtension
- I18nExtension::getFunctions() — Method in class I18nExtension
- I18nExtension::getTokenParsers() — Method in class I18nExtension
- PluralizeTokenParser::getTag() — Method in class PluralizeTokenParser
- TranslateTokenParser::getTag() — Method in class TranslateTokenParser
H
- I18n::hasLocalizedString() — Method in class I18n
- Check if a translation exists for an index
I
- I18n — Class in namespace I18n
- Internationalization class
- I18n::isAvailableLanguage() — Method in class I18n
- Check if a language code is available in the Loader
- I18nException — Class in namespace I18n
- I18nInvalidArgumentException — Class in namespace I18n
- I18nRuntimeException — Class in namespace I18n
- Iana — Class in namespace I18n
- Locale codes DB from http://www.iana.org/assignments/language-subtag-registry
- I18nExtension — Class in namespace I18n\Twig
- PluralizeTokenParser::isEndTag() — Method in class PluralizeTokenParser
- TranslateTokenParser::isEndTag() — Method in class TranslateTokenParser
L
- I18n::loadFile() — Method in class I18n
- Load a new language file
- Loader — Class in namespace I18n
- LoaderInterface — Class in namespace I18n
P
- I18n::parseString() — Method in class I18n
- Parse a translated string making some parameters replacements
- I18n::parseStringMetadata() — Method in class I18n
- Get the meta-data of a language string
- I18n::pluralize() — Method in class I18n
- Process a translation with arguments depending on a counter
- PluralizeNode — Class in namespace I18n\Twig
- PluralizeTokenParser — Class in namespace I18n\Twig
- Use the I18n\I18n::translate function
- PluralizeTokenParser::parse() — Method in class PluralizeTokenParser
- TranslateTokenParser::parse() — Method in class TranslateTokenParser
R
- Iana::read() — Method in class Iana
S
- Generator::setDbFilepath() — Method in class Generator
- Generator::setGenerator() — Method in class Generator
- I18n::setLoader() — Method in class I18n
- Store the loader
- I18n::setLanguage() — Method in class I18n
- Loads a new language
- I18n::setDefaultFromHttp() — Method in class I18n
- Try to get the browser default locale and use it
- I18n::setLocale() — Method in class I18n
- Define a new locale for the system
- I18n::setTimezone() — Method in class I18n
- Define a new timezone for the system
- Iana::setDbFilepath() — Method in class Iana
- Iana::setDbFilename() — Method in class Iana
T
- I18n::translate() — Method in class I18n
- Process a translation with arguments
- TranslateNode — Class in namespace I18n\Twig
- TranslateTokenParser — Class in namespace I18n\Twig
- Use the I18n\I18n::translate function
U
- Iana::update() — Method in class Iana
_
- Generator::__construct() — Method in class Generator
- Iana::__construct() — Method in class Iana
- Loader::__construct() — Method in class Loader
- Creation of a Loader with an optional user defined set of options
- I18nExtension::__construct() — Method in class I18nExtension
- You can construct this extension by passing a
\I18n\I18n
object instance or just a\I18n\LoaderInterface
object or just an array of options. - PluralizeNode::__construct() — Method in class PluralizeNode
- TranslateNode::__construct() — Method in class TranslateNode