[FrameworkBundle][Translation] moved cache to Translation component

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10628
| License       | MIT
I would remove the accessors for options, making them immutable (as they are currently in FrameworkBundle). If you keep them mutable, you need to make the logic much more complex to reset the appropriate parts of the cache when options are changed later