Constructor
Translation2::Translation2()
| Constructor (deprecated in favour of factory()) |
Factory
Translation2::factory()
| Return a Translation2 instanciated object |
Translation2::get()
| Get translated string |
Translation2::getDecorator()
| Return an instance of a decorator |
Translation2::getLang()
| get language info |
Translation2::getLangs()
| get available languages |
Translation2::getPage()
| Same as
getRawPage(), but resort to fallback language and replace
parameters when needed
|
Translation2::getRaw()
| Get translated string (as-is) |
Translation2::getRawPage()
| Get the array of strings in a page |
Translation2::setLang()
| Set default lang |
Translation2::setPageID()
| Set default page |
Translation2::setParams()
| Set parameters for next string |
Translation2::getStringID()
| Get the stringID for a given string |