Feature #33018
Translator should support override of labels from other packages
Status: | New | Start date: | 2012-01-06 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | I18n | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No |
Description
We are somewhat limited in the extensibility of translations with the current approach. The use case would be a package that defines labels for a reusable component (e.g. a controller with flash messages) or the default labels of FLOW3. How can a user package override these values?
Even if we will not implement this right away we should make sure that our current implementation and API supports this use case, because re-use will be limited if translations of packages cannot be overriden.
Of course there could be problems with loading order of resources but I think the abstraction with XliffModel could support this use case by chaining multiple XliffModels to allow for a inheritance of translations. The question would remain how this could be configured.