--- old+++ new@@ -0,0 +1,6 @@+We need a way to provide localization to various attributes of an object.++* Analyse whether there are any open source (maybe spring related) solutions or specify an implementation.+* Include / implement the solution into the project++**Have in mind**, that there will be lots of translations which could be really critical when it comes to performance issues.
Category: --> CORE
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Every entity that can have localizable attributes will have a separate database table for these localizations. Its structure will look like the extension objects ones but will not allow the locale column to be null.
The entity attribute itsself will be a map wrapper of the basic types integer, double and string.
It will basically return the map with the locale identifiers as keys and the localizations as values.
Additionally there will be methods to get and set specific localizations.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diff:
Will be implemented as follows:
Every entity that can have localizable attributes will have a separate database table for these localizations. Its structure will look like the extension objects ones but will not allow the locale column to be null.
The entity attribute itsself will be a map wrapper of the basic types integer, double and string.
It will basically return the map with the locale identifiers as keys and the localizations as values.
Additionally there will be methods to get and set specific localizations.
Classes for localization of entities done.
Added additional mapping of VARCHAR sql type to the LocalizedValue types String, Double and Integer.