Translations is a Class that provides helper methods for accessing Translation Files.
It provides namespaces for easy handling of several translation files and has static accessor methods!
Loads a Translation into the given Namespace.
If no Locale is passed, we take the current User Locale. If no Namespace is provided, we take the global Namespace. If you want to search within a different directory, than the default ones, you can submit an absolute Path.
Loads a Translation into the Global Namespace.
Fetches a Translation from the requested Namespace.
If no match could be found, it returns the
- fallback
- '??'.$namespace.'#'.$key.'??'
Fetches a translation from the Global Namespace.
Documentation generated by phpDocumentor 1.3.1