Menu

#11 localization

0.3
closed
None
CORE
2014-02-04
2013-11-18
Mirco Gatz
No

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.

Discussion

  • Mirco Gatz

    Mirco Gatz - 2013-11-28
    • Description has changed:

    Diff:

    --- 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
     
  • Mirco Gatz

    Mirco Gatz - 2013-12-28

    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.

     
  • Mirco Gatz

    Mirco Gatz - 2013-12-28
    • assigned_to: Mirco Gatz
     
  • Mirco Gatz

    Mirco Gatz - 2014-02-04
    • status: open --> closed
     
  • Mirco Gatz

    Mirco Gatz - 2014-02-04

    Classes for localization of entities done.
    Added additional mapping of VARCHAR sql type to the LocalizedValue types String, Double and Integer.

     

Log in to post a comment.