Skip to content

Reevaluate localization (of tag descriptions) #64

@GamerBene19

Description

@GamerBene19

During initial development we asked ourselves if the current approach of localizing (names) is the best one.
Currently for each localized name (e.g. names of dishes/tags and tag descriptions) we create a new property in our GQL-Schema (e.g. nameDe and nameEn.
An idea that was proposed (for replacing tag descriptions) was to use an enum to select a certain name "prefix" ("with" or "contains") and then let the frontend pick a localized translation for that prefix and insert the tag name via i18n interpolation. However we decided on using a similar approach as with the dish names and postponed a potential reevaluation (which this issue should serve as a reminder for).

Also see: https://vertabelo.com/blog/multi-language-database-design/

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions