[WIP] structure type, fallback implementation of localizations

structure type, fallback implementation of localizations:

- [ ] test coverage
- [ ] finish the code
- [ ] gather feedback for my changes
- [ ] submit changes to the documentation


| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Tests pass?   | yes|no
| Fixed tickets | none
| Doc           | url to doc