Feature #35388
Use the current package as default for translations within controllers
Status: | New | Start date: | 2012-03-30 | |
---|---|---|---|---|
Priority: | Could have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | I18n | |||
Target version: | - | |||
PHP Version: | 5.3 | Complexity: | ||
Has patch: | No |
Description
The Translator::getTranslationBy* should use the current package to determine where to get the translation from, just like the TranslationViewHelper in Fluid does.
Currently it's quite tedious since the packageKey is the very last argument to those methods and you rarely need the other ones in between.