Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Content & Language System #25

Closed
9 tasks done
thejoefriel opened this issue Jul 12, 2021 · 0 comments · Fixed by #31
Closed
9 tasks done

Set up Content & Language System #25

thejoefriel opened this issue Jul 12, 2021 · 0 comments · Fixed by #31

Comments

@thejoefriel
Copy link
Contributor

thejoefriel commented Jul 12, 2021

Summary
Even though we are just creating a static front end app right now, there are two future features we need to consider:

  • Ability to change the language
  • Ability to edit the steps and the content within the steps (so basically CMS functionality)

This means we should put:

  • Put all the content into a constants file system
  • Put into a language system

Further information
Refer to the language setup we built on Tempo as that works well and will suit our needs on this


Acceptance Criteria:

REMEMBER THAT WHOEVER WORKS ON THIS ISSUE MUST TICK OFF ALL THE POINTS IN THIS LIST UNLESS THERE IS CLEAR AGREEMENT IN THE COMMENTS TO SAY OTHERWISE. DO NOT REVIEW A PR INVOLVING THIS ISSUE UNLESS THIS HAS BEEN DONE

  • Create constants file for content
  • Ensure the content is split into languages (just have english for now as the default)
  • Each step (to consider in the content) includes
    • title (e.g. Check eligibility)
    • subtitle (e.g. You can check your...)
    • External button title (e.g. eligibility calculator)
    • External link
    • Check list of items (each with a title)
  • Create language helper (always defaults to english)
@thejoefriel thejoefriel added this to the MVP milestone Jul 12, 2021
@thejoefriel thejoefriel added this to To do in Project Plan via automation Jul 12, 2021
@ashatat ashatat self-assigned this Jul 12, 2021
ashatat added a commit that referenced this issue Jul 12, 2021
ashatat added a commit that referenced this issue Jul 12, 2021
Project Plan automation moved this from To do to Done Jul 12, 2021
fadeomar pushed a commit that referenced this issue Jul 12, 2021
* add lang context

#25

* add translator helper and constant files

#25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants