Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

Add ability to add submission questions and interest topics in multiple languages #12

@osdiab

Description

@osdiab

right now they are just strings; for now, I just made it so those strings contain both translations, but it's not ideal and as more languages come in it is unscalable.

Proposal

  1. add migration to change fields in topics and submissions so that:
    a) rather than containing the message directly, they contain a message ID
    b) add a JSON field to them called translations that is a mapping from language to text.
  2. For these dynamically tranlsated things, don't use react-intl; just make the corresponding views display a value by conditioning on state.language.currentLanguage.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions